Camera.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package com.fdkankan.fusion.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import java.io.Serializable;
  4. import java.util.Date;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. /**
  8. * <p>
  9. * 相机主表
  10. * </p>
  11. *
  12. * @author
  13. * @since 2024-01-09
  14. */
  15. @Getter
  16. @Setter
  17. @TableName("t_camera")
  18. public class Camera implements Serializable {
  19. private static final long serialVersionUID = 1L;
  20. @TableId(value = "id", type = IdType.AUTO)
  21. private Long id;
  22. /**
  23. * 相机的Mac地址
  24. */
  25. @TableField("child_name")
  26. private String childName;
  27. /**
  28. * 激活时间
  29. */
  30. @TableField("activated_time")
  31. private Date activatedTime;
  32. /**
  33. * 相机密码
  34. */
  35. @TableField("child_password")
  36. private String childPassword;
  37. /**
  38. * sn码
  39. */
  40. @TableField("sn_code")
  41. private String snCode;
  42. /**
  43. * wifi名称
  44. */
  45. @TableField("wifi_name")
  46. private String wifiName;
  47. /**
  48. * wifi密码
  49. */
  50. @TableField("wifi_password")
  51. private String wifiPassword;
  52. /**
  53. * 创建时间
  54. */
  55. @TableField("create_time")
  56. private Date createTime;
  57. /**
  58. * 更新时间
  59. */
  60. @TableField("update_time")
  61. private Date updateTime;
  62. /**
  63. * 记录的状态,A: 生效,I: 禁用
  64. */
  65. @TableField("rec_status")
  66. @TableLogic(value = "A",delval = "I")
  67. private String recStatus;
  68. }