forked from wangziqi/gongxue-base
feat: integrate Bed/Locker into Occupancy check-in/out flow
This commit is contained in:
@@ -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次日
|
||||
|
||||
Reference in New Issue
Block a user