Yield generated for a9f0cc47-65f1-440f-accc-3b20ac46c429
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;
}