fix: 归档删除改为软删除

This commit is contained in:
2026-07-17 14:13:17 +08:00
parent 3131d2e141
commit f7328d670d
49 changed files with 520 additions and 354 deletions

View File

@@ -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;