TPublicToiletEnergy.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package cn.com.lzt.toilets.entity;
  2. import lombok.Data;
  3. import lombok.EqualsAndHashCode;
  4. import lombok.experimental.Accessors;
  5. import org.jeecgframework.poi.excel.annotation.Excel;
  6. import javax.persistence.*;
  7. import java.util.Date;
  8. /**
  9. * @Title: Entity
  10. * @Description: 公厕耗能管理表
  11. * @author LiuMengxiang
  12. * @date 2021年11月16日20:39:27
  13. * @version V1.0
  14. *
  15. */
  16. @Data
  17. @Entity
  18. @EqualsAndHashCode(callSuper = false)
  19. @Accessors(chain = true)
  20. @Table(name = "t_public_toilet_energy")
  21. @SuppressWarnings("serial")
  22. public class TPublicToiletEnergy implements java.io.Serializable{
  23. @Id
  24. @Column(name = "id")
  25. @Excel(name = "id", width = 255.0D)
  26. private Integer id;
  27. //公厕编码
  28. @Column(name = "code")
  29. @Excel(name = "公厕编码", width = 255.0D)
  30. private String code;
  31. //公厕名称
  32. @Column(name = "name")
  33. @Excel(name = "公厕名称", width = 255.0D)
  34. private String name;
  35. //公厕位置
  36. @Column(name = "`location`")
  37. @Excel(name = "公厕位置", width = 255.0D)
  38. private String location;
  39. //所属网格化区域
  40. @Column(name = "region")
  41. @Excel(name = "所属网格化区域", width = 255.0D)
  42. private String region;
  43. //统计时间
  44. @Column(name = "count_date")
  45. @Excel(name = "统计时间", width = 255.0D)
  46. private Date countDate;
  47. //统计人员
  48. @Column(name = "statistician")
  49. @Excel(name = "统计人员", width = 255.0D)
  50. private String statistician;
  51. //水表值
  52. @Column(name = "water_meter")
  53. @Excel(name = "水表值", width = 255.0D)
  54. private String waterMeter;
  55. //电表值
  56. @Column(name = "watt_meter")
  57. @Excel(name = "电表值", width = 255.0D)
  58. private String wattMeter;
  59. }