Camera.java 1.7 KB

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