feat: integrate Bed/Locker into Occupancy check-in/out flow

This commit is contained in:
2026-07-09 12:02:43 +08:00
parent 3bed3409fe
commit 54d8d0545e
3 changed files with 84 additions and 1 deletions

View File

@@ -25,6 +25,13 @@ export class CheckInDto {
@IsOptional()
@IsInt()
tenantId?: number;
@IsOptional()
@IsInt()
bedId?: number; // 后续改 required
@IsOptional()
@IsInt()
lockerId?: number;
}
export class CheckOutDto {
@@ -51,6 +58,13 @@ export class TransferRoomDto {
@IsString()
oldBillingEndDate?: string; // 旧房计费截止日,默认=transferDate
@IsOptional()
@IsInt()
newBedId?: number;
@IsOptional()
@IsInt()
newLockerId?: number;
@IsOptional()
@IsString()
newBillingStartDate?: string; // 新房计费起始日,默认=transferDate次日