EnvDevice.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package com.huimv.admin.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import java.io.Serializable;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. import lombok.experimental.Accessors;
  9. /**
  10. * <p>
  11. *
  12. * </p>
  13. *
  14. * @author author
  15. * @since 2023-02-13
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. @Accessors(chain = true)
  20. @TableName("env_device")
  21. public class EnvDevice implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Integer id;
  25. /**
  26. * 设备编码
  27. */
  28. private String deviceCode;
  29. /**
  30. * 设备名称
  31. */
  32. private String deviceName;
  33. /**
  34. * 位置
  35. */
  36. private String buildLocation;
  37. /**
  38. * 房屋id
  39. */
  40. private String unitName;
  41. /**
  42. * 单元id
  43. */
  44. private Integer unitId;
  45. /**
  46. * 品牌
  47. */
  48. private String deviceBrand;
  49. private String remark;
  50. /**
  51. * 0不在线 1在线
  52. */
  53. private Integer deviceStatus;
  54. private Integer farmId;
  55. private String ohter1;
  56. private String ohter2;
  57. private String ohter3;
  58. }