import { Column, Entity } from "typeorm";
import { BaseEntity } from "../abstrClass/BaseEntity";

@Entity("role")
export class Role extends BaseEntity {
  @Column({ type: "varchar", comment: "角色值", default: "" })
  values: string;
  @Column({ type: "int", comment: "角色状态", default: 1 })
  roleState: number;
  @Column({ type: "varchar", comment: "角色名", default: "" })
  name: string;
}
