import { IncrementIdEntity } from 'src/common/entities/increment-id.entity';
import { Column, Entity } from 'typeorm';

@Entity()
export class Role extends IncrementIdEntity {
  @Column({ comment: '角色名称' })
  name: string;

  @Column({ nullable: true, comment: '角色描述' })
  desc: string;

  @Column({ nullable: true, comment: '基于哪个角色编辑' })
  base: number;
}
