Yield generated for f90ccf22-33c0-4c2b-814e-7454d39f89e2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
328 B

import { DbAuditModel } from '../../utils/dbmodel.model';
import { Column, Entity, ManyToOne, OneToMany } from 'typeorm';
import { ApiModelProperty } from '@nestjs/swagger';
@Entity()
export class Role extends DbAuditModel {
@ApiModelProperty({ required: true, readOnly: true })
@Column({ unique: true })
name: string;
}