UserRoomDTO.java 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * /**
  3. * Copyright (c) 2018 业主系统 All rights reserved.
  4. * <p>
  5. * https://www.kioor.com
  6. * <p>
  7. * 版权所有,侵权必究!
  8. */
  9. package com.kioor.user.dto;
  10. import io.swagger.v3.oas.annotations.media.Schema;
  11. import jakarta.validation.constraints.NotNull;
  12. import lombok.Data;
  13. /**
  14. * 用户房间关系
  15. *
  16. * @author Mark sunlightcs@gmail.com
  17. */
  18. @Data
  19. @Schema(description = "用户房间关系")
  20. public class UserRoomDTO {
  21. // @Schema(description = "房间")
  22. // @NotNull(message = "房间不能为空")
  23. // private Long roomId;
  24. @Schema(description = "小区")
  25. @NotNull
  26. private Long housingEstateId;
  27. @Schema(description = "楼栋")
  28. @NotNull
  29. private int buildingNum;
  30. @Schema(description = "单元")
  31. @NotNull
  32. private int unitNum;
  33. @Schema(description = "楼层")
  34. @NotNull
  35. private int floorNum;
  36. @Schema(description = "房号")
  37. @NotNull
  38. private int roomNum;
  39. }