TNeighborhood.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. package com.slibra.business.domain;
  2. import com.fasterxml.jackson.annotation.JsonIgnore;
  3. import com.slibra.business.res.NeighbourhoodNumberAndAddFlag;
  4. import lombok.AllArgsConstructor;
  5. import lombok.Builder;
  6. import lombok.Data;
  7. import lombok.NoArgsConstructor;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. import com.slibra.common.annotation.Excel;
  11. import com.slibra.common.core.domain.BaseEntity;
  12. import java.util.List;
  13. /**
  14. * 服务小区对象 t_neighborhood
  15. *
  16. * @author slibra
  17. * @date 2024-11-05
  18. */
  19. @Data
  20. @Builder
  21. @AllArgsConstructor
  22. @NoArgsConstructor
  23. public class TNeighborhood extends BaseEntity
  24. {
  25. private static final long serialVersionUID = 1L;
  26. /** 主键 */
  27. private Long id;
  28. /** 小区的名称 */
  29. @Excel(name = "小区的名称")
  30. private String name;
  31. /** 省的id */
  32. @Excel(name = "省的id")
  33. private String provinceId;
  34. /** 市的id */
  35. @Excel(name = "市的id")
  36. private String cityId;
  37. /** 区县的id */
  38. @Excel(name = "区县的id")
  39. private String countryId;
  40. /** 详细地址 */
  41. @Excel(name = "详细地址")
  42. private String address;
  43. /** 排序(按照升序排列) */
  44. @Excel(name = "排序", readConverterExp = "按=照升序排列")
  45. private String sort;
  46. /** 删除标志(0代表存在 2代表删除) */
  47. @JsonIgnore
  48. private Long delFlag;
  49. /** 乐观锁 */
  50. @Excel(name = "乐观锁")
  51. @JsonIgnore
  52. private Long revision;
  53. //关联的楼号名称
  54. private String buildingsNames;
  55. //关联的泵站名称
  56. private String pumpingStationNames;
  57. //省的名字
  58. private String provinceName;
  59. //市的名字
  60. private String cityName;
  61. //区县的名字
  62. private String countryName;
  63. //关联的楼号和状态
  64. private List<NeighbourhoodNumberAndAddFlag> neighbourhoodNumberAndAddFlags;
  65. //请求参数
  66. private List<String> buildingNameList;
  67. //请求参数
  68. private Long pumpingStationId;
  69. }