package com.fdkankan.manage.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.util.Date; /** *
* 相机子表 *
* * @author * @since 2022-06-16 */ @Getter @Setter @TableName("t_camera_detail") public class CameraDetail implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 余额 */ @TableField("balance") private String balance; /** * 用户表t_user的id */ @TableField("user_id") private Long userId; /** * 0表示客户,1表示员工,2表示赠送,3表示其他,4经销商销售 */ @TableField("own") private Integer own; /** * 订单号 */ @TableField("order_sn") private String orderSn; /** * 0表示本国,1表示国外 */ @TableField("country") private Integer country; /** * 经销商 */ @TableField("agency") private String agency; /** * 相机类型,0表示双目,1四维看看pro,2 四维看看lite,9 双目转台,10 激光转台 */ @TableField("type") private Integer type; /** * 总容量 */ @TableField("total_space") private Long totalSpace; /** * 已使用容量 */ @TableField("used_space") private Long usedSpace; /** * 相机主表t_camera的id */ @TableField("camera_id") private Long cameraId; /** * 商品表t_goods的id */ @TableField("goods_id") private Long goodsId; /** * 企业表t_company的id */ @TableField("company_id") private Long companyId; /** * 代理商架构管理t_agent_framework的id */ @TableField("agent_framework_id") private Long agentFrameworkId; /** * 相机协作用户id */ @TableField("cooperation_user") private Long cooperationUser; /** * 设备地址(追溯管理后台) */ @TableField("address") private String address; /** * 创建时间 */ @TableField("create_time") private String createTime; /** * 更新时间 */ @TableField("update_time") private String updateTime; /** * 出库时间 */ @TableField("out_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date outTime; /** * 记录的状态,A: 生效,I: 禁用 */ @TableField("rec_status") @TableLogic(value = "A",delval = "I") private String recStatus; @TableField("user_camera_version") private String userCameraVersion; @TableField("app_version") private String appVersion; @TableField("last_request_time") private String lastRequestTime; @TableField("agent_id") private Integer agentId; }