mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-25 16:48:13 +00:00
4.x 就绪
This commit is contained in:
parent
dc863f859e
commit
2be4730437
@ -17,6 +17,25 @@ export class DemoCrudEntity extends BaseEntity {
|
|||||||
@Column({ comment: '年龄' })
|
@Column({ comment: '年龄' })
|
||||||
age: number;
|
age: number;
|
||||||
|
|
||||||
@Column({ type: 'tinyint', comment: '性别 0-未知 1-男 2-女', default: 0 })
|
@Column({ comment: '出生日期' })
|
||||||
|
birthDate: Date;
|
||||||
|
|
||||||
|
@Column({ comment: '出生日期1' })
|
||||||
|
birthTime: Date;
|
||||||
|
|
||||||
|
@Column({ comment: '出生日期2' })
|
||||||
|
startTime: Date;
|
||||||
|
|
||||||
|
@Column({ comment: '出生日期e' })
|
||||||
|
endTime: Date;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: 'tinyint',
|
||||||
|
comment: '性别 0-未知 1-男 2-女',
|
||||||
|
default: 0,
|
||||||
|
})
|
||||||
type: number;
|
type: number;
|
||||||
|
|
||||||
|
@Column({ comment: '备注', nullable: true })
|
||||||
|
remark: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user