forked from wangziqi/gongxue-base
feat: add rental_category/rate to Room, rental_type/tenant_id to Occupancy, tenant_id to Student
This commit is contained in:
@@ -65,6 +65,8 @@ export class OccupanciesService {
|
||||
roomId: dto.roomId,
|
||||
checkInDate: dto.checkInDate,
|
||||
billingStartDate: dto.billingStartDate || dto.checkInDate,
|
||||
rentalType: dto.rentalType,
|
||||
tenantId: dto.tenantId,
|
||||
notes: dto.notes,
|
||||
});
|
||||
const saved = await this.repo.save(occ);
|
||||
|
||||
Reference in New Issue
Block a user