wangzhibo
7 天以前 665ba0f9ae078c2859209451a163d10515171d11
src/modules/basicdata/entity/sorter.ts
@@ -13,12 +13,24 @@
  @Column({ comment: '姓名', length: 64 })
  businessName: string;
  @Column({ comment: '手机号', length: 32, nullable: true })
  @Column({ comment: '手机号', length: 32 })
  phone: string;
  @Column({ comment: '密码', length: 32, nullable: true })
  password: string;
  @Column({ comment: '性别', dict: ['未知', '男', '女'], default: '男' })
  sex: string;
  @Column({ comment: '生日', type: 'date', nullable: true })
  birthday: Date;
  @Column({ comment: '入职日期', type: 'date', nullable: true })
  hireDate: Date;
  @Column({ comment: '离职日期', type: 'date', nullable: true })
  leaveDate: Date;
  @Column({ comment: '状态', dict: ['在职', '离职', '禁用'], default: 0 })
  status: number;