CameraDetail.java 2.9 KB

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