1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /**
- * /**
- * Copyright (c) 2018 业主系统 All rights reserved.
- * <p>
- * https://www.kioor.com
- * <p>
- * 版权所有,侵权必究!
- */
- package com.kioor.user.dto;
- import io.swagger.v3.oas.annotations.media.Schema;
- import jakarta.validation.constraints.NotNull;
- import lombok.Data;
- /**
- * 用户房间关系
- *
- * @author Mark sunlightcs@gmail.com
- */
- @Data
- @Schema(description = "用户房间关系")
- public class UserRoomDTO {
- // @Schema(description = "房间")
- // @NotNull(message = "房间不能为空")
- // private Long roomId;
- @Schema(description = "小区")
- @NotNull
- private Long housingEstateId;
- @Schema(description = "楼栋")
- @NotNull
- private int buildingNum;
- @Schema(description = "单元")
- @NotNull
- private int unitNum;
- @Schema(description = "楼层")
- @NotNull
- private int floorNum;
- @Schema(description = "房号")
- @NotNull
- private int roomNum;
- }
|