CameraDetail.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. package com.fdkankan.scene.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-05
  18. */
  19. @Getter
  20. @Setter
  21. @TableName("t_camera_detail")
  22. public class CameraDetail implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Long id;
  26. /**
  27. * 余额
  28. */
  29. @TableField("balance")
  30. private String balance;
  31. /**
  32. * 用户表t_user的id
  33. */
  34. @TableField("user_id")
  35. private Long userId;
  36. /**
  37. * 0表示客户,1表示员工,2表示赠送,3表示其他,4经销商销售
  38. */
  39. @TableField("own")
  40. private Integer own;
  41. /**
  42. * 订单号
  43. */
  44. @TableField("order_sn")
  45. private String orderSn;
  46. /**
  47. * 0表示本国,1表示国外
  48. */
  49. @TableField("country")
  50. private Integer country;
  51. /**
  52. * 经销商
  53. */
  54. @TableField("agency")
  55. private String agency;
  56. /**
  57. * 相机类型,0表示双目,1四维看看pro,2 四维看看lite,9 双目转台,10 激光转台
  58. */
  59. @TableField("type")
  60. private Integer type;
  61. /**
  62. * 总容量
  63. */
  64. @TableField("total_space")
  65. private Long totalSpace;
  66. /**
  67. * 已使用容量
  68. */
  69. @TableField("used_space")
  70. private Long usedSpace;
  71. /**
  72. * 相机主表t_camera的id
  73. */
  74. @TableField("camera_id")
  75. private Long cameraId;
  76. /**
  77. * 商品表t_goods的id
  78. */
  79. @TableField("goods_id")
  80. private Long goodsId;
  81. /**
  82. * 企业表t_company的id
  83. */
  84. @TableField("company_id")
  85. private Long companyId;
  86. /**
  87. * 代理商架构管理t_agent_framework的id
  88. */
  89. @TableField("agent_framework_id")
  90. private Long agentFrameworkId;
  91. /**
  92. * 相机协作用户id
  93. */
  94. @TableField("cooperation_user")
  95. private Long cooperationUser;
  96. /**
  97. * 设备地址(追溯管理后台)
  98. */
  99. @TableField("address")
  100. private String address;
  101. /**
  102. * 创建时间
  103. */
  104. @TableField("create_time")
  105. private Date createTime;
  106. /**
  107. * 更新时间
  108. */
  109. @TableField("update_time")
  110. private Date updateTime;
  111. /**
  112. * 记录的状态,A: 生效,I: 禁用
  113. */
  114. @TableField("rec_status")
  115. @TableLogic(value = "A", delval = "I")
  116. private String recStatus;
  117. @TableField("user_camera_version")
  118. private String userCameraVersion;
  119. @TableField("app_version")
  120. private String appVersion;
  121. @TableField("last_request_time")
  122. private Date lastRequestTime;
  123. }