TOrganization.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.ruoyi.business.domain;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Builder;
  4. import lombok.Data;
  5. import lombok.NoArgsConstructor;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import com.ruoyi.common.annotation.Excel;
  9. import com.ruoyi.common.core.domain.BaseEntity;
  10. /**
  11. * 机构管理对象 t_organization
  12. *
  13. * @author ruoyi
  14. * @date 2025-03-06
  15. */
  16. @Builder
  17. @Data
  18. @AllArgsConstructor
  19. @NoArgsConstructor
  20. public class TOrganization extends BaseEntity
  21. {
  22. private static final long serialVersionUID = 1L;
  23. /** 主键 */
  24. private Long id;
  25. /** 机构名称 */
  26. @Excel(name = "机构名称")
  27. private String name;
  28. /** 机构编号 */
  29. @Excel(name = "机构编号")
  30. private String code;
  31. /** 机构类型(0集团 1水厂) */
  32. @Excel(name = "机构类型(0集团 1水厂)")
  33. private Integer type;
  34. /** 省的code */
  35. @Excel(name = "省的code")
  36. private String provinceCode;
  37. /** 市的code */
  38. @Excel(name = "市的code")
  39. private String cityCode;
  40. /** 区县的code */
  41. @Excel(name = "区县的code")
  42. private String countryCode;
  43. /** 联系人 */
  44. @Excel(name = "联系人")
  45. private String concat;
  46. /** 联系电话 */
  47. @Excel(name = "联系电话")
  48. private String phone;
  49. /** 状态(0正常 1停用) */
  50. @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
  51. private Integer status;
  52. /** 父ID(如果没有,默认是0) */
  53. @Excel(name = "父ID", readConverterExp = "如=果没有,默认是0")
  54. private Long parentId;
  55. /** 最上层ID(如果没有,默认是0) */
  56. @Excel(name = "最上层ID", readConverterExp = "如=果没有,默认是0")
  57. private Long topId;
  58. /** 排序 */
  59. @Excel(name = "排序")
  60. private Long sort;
  61. /** 详细地址 */
  62. @Excel(name = "详细地址")
  63. private String address;
  64. /** 经度 */
  65. @Excel(name = "经度")
  66. private String longitude;
  67. /** 纬度 */
  68. @Excel(name = "纬度")
  69. private String latitude;
  70. /** 删除标志(0代表存在 2代表删除) */
  71. private Integer delFlag;
  72. /** 乐观锁 */
  73. @Excel(name = "乐观锁")
  74. private Long revision;
  75. }