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
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;
|
|
}
|