fix: 归档删除改为软删除
This commit is contained in:
@@ -41,6 +41,9 @@ export class Occupancy {
|
||||
@Column({ type: 'text', nullable: true })
|
||||
notes: string;
|
||||
|
||||
@Column({ type: 'varchar', length: 20, default: 'active' })
|
||||
status: 'active' | 'archived';
|
||||
|
||||
@Column({ name: 'bed_id', type: 'integer', nullable: true })
|
||||
bedId: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user