|
@@ -9,7 +9,7 @@ export class Card {
|
|
|
@Column({ name: 'agent_id', type: 'int', unsigned: true, nullable: true, comment: '代理商ID' })
|
|
@Column({ name: 'agent_id', type: 'int', unsigned: true, nullable: true, comment: '代理商ID' })
|
|
|
agentId!: number | null;
|
|
agentId!: number | null;
|
|
|
|
|
|
|
|
- @Column({ name: 'card_type', type: 'tinyint', unsigned: true, comment: '1盛京通卡 2通用联名电子卡' })
|
|
|
|
|
|
|
+ @Column({ name: 'card_type', type: 'smallint', unsigned: true, comment: '1盛京通卡 2通用联名电子卡' })
|
|
|
cardType!: number;
|
|
cardType!: number;
|
|
|
|
|
|
|
|
@Column({ name: 'card_no', type: 'varchar', length: 20, unique: true, comment: '卡号' })
|
|
@Column({ name: 'card_no', type: 'varchar', length: 20, unique: true, comment: '卡号' })
|
|
@@ -18,7 +18,7 @@ export class Card {
|
|
|
@Column({ name: 'password', type: 'varchar', length: 255, comment: '密码' })
|
|
@Column({ name: 'password', type: 'varchar', length: 255, comment: '密码' })
|
|
|
password!: string;
|
|
password!: string;
|
|
|
|
|
|
|
|
- @Column({ name: 'state', type: 'tinyint', unsigned: true, default: 1, comment: '状态 1绑定 2解绑 通用联名电子卡不可解绑' })
|
|
|
|
|
|
|
+ @Column({ name: 'state', type: 'smallint', unsigned: true, default: 1, comment: '状态 1绑定 2解绑 通用联名电子卡不可解绑' })
|
|
|
state!: number;
|
|
state!: number;
|
|
|
|
|
|
|
|
@Column({ name: 'face_value', type: 'decimal', precision: 10, scale: 2, unsigned: true, default: 0.00, comment: '面值' })
|
|
@Column({ name: 'face_value', type: 'decimal', precision: 10, scale: 2, unsigned: true, default: 0.00, comment: '面值' })
|