| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- package com.fdkankan.manage.entity;
- import com.alibaba.excel.annotation.ExcelIgnore;
- import com.alibaba.excel.annotation.ExcelProperty;
- import com.baomidou.mybatisplus.annotation.*;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- import com.fdkankan.manage.common.CustomDateConverter;
- import com.fdkankan.manage.common.DictUtil;
- import com.fdkankan.manage.vo.response.OrderVoStatus;
- import lombok.Getter;
- import lombok.Setter;
- /**
- * <p>
- *
- * </p>
- *
- * @author
- * @since 2023-07-07
- */
- @Getter
- @Setter
- @TableName("t_authorize_camera")
- public class AuthorizeCamera implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * 本地算法授权
- */
- @TableId(value = "id", type = IdType.AUTO)
- @ExcelIgnore
- private Integer id;
- /**
- * 客户名称
- */
- @ExcelProperty(value = "客户名称",index = 6)
- @TableField(value = "customer_name",updateStrategy = FieldStrategy.IGNORED)
- private String customerName;
- /**
- * 客户类别0直销,1经销
- */
- @ExcelProperty(value = "客户类别",index = 7,converter = CustomDateConverter.class)
- @TableField(value = "customer_type",updateStrategy = FieldStrategy.IGNORED)
- private Integer customerType;
- /**
- * 终端客户
- */
- @ExcelProperty(value = "终端客户",index = 8)
- @TableField(value = "end_customer",updateStrategy = FieldStrategy.IGNORED)
- private String endCustomer;
- /**
- * 使用类型
- */
- @ExcelProperty(value = "使用类型",index = 9,converter = CustomDateConverter.class)
- @TableField("use_type")
- private Integer useType;
- /**
- * 项目号
- */
- @TableField(value = "project_num",updateStrategy = FieldStrategy.IGNORED)
- @ExcelProperty(value = "项目号",index = 17)
- private String projectNum;
- /**
- * 备注
- */
- @TableField("remark")
- @ExcelProperty(value = "备注",index = 18)
- private String remark;
- /**
- * 机器码
- */
- @TableField("machine_code")
- @ExcelIgnore
- private String machineCode;
- /**
- * 机器UUID
- */
- @TableField("machine_uuid")
- @ExcelIgnore
- private String machineUuid;
- /**
- * 相机snCodes
- */
- @TableField(exist = false)
- @ExcelProperty(value = "相机sn",index = 16)
- private String snCodes;
- /**
- * 相机数量
- */
- @TableField("camera_num")
- @ExcelIgnore
- private Integer cameraNum;
- /**
- * 授权key
- */
- @TableField("authorize_key")
- @ExcelIgnore
- private String authorizeKey;
- /**
- * 创建人
- */
- @TableField("sys_user_id")
- @ExcelIgnore
- private Long sysUserId;
- @TableField(exist = false)
- @ExcelIgnore
- private String sysUserName;
- @TableField("rec_status")
- @TableLogic(value = "A",delval = "I")
- @ExcelIgnore
- private String recStatus;
- @TableField("create_time")
- @ExcelProperty(value = "下单时间",index = 0)
- private String createTime;
- @TableField("update_time")
- @ExcelIgnore
- private Date updateTime;
- @TableField(value ="company_name",updateStrategy = FieldStrategy.IGNORED)
- @ExcelProperty(value = "合同所属公司",index = 2)
- private String companyName;
- @TableField(value ="business_dept",updateStrategy = FieldStrategy.IGNORED)
- @ExcelProperty(value = "业务部门",index = 3)
- private String businessDept;
- @TableField(value ="business_name",updateStrategy = FieldStrategy.IGNORED)
- @ExcelProperty(value = "业务员",index = 4)
- private String businessName;
- @TableField(value = "customer_pay_time",updateStrategy = FieldStrategy.IGNORED)
- @ExcelProperty(value = "客户付款时间",index = 5)
- private String customerPayTime;
- @TableField("model_auth_code")
- @ExcelProperty(value = "客户机器码",index = 15)
- private String modelAuthCode;
- @TableField("amount")
- @ExcelProperty(value = "订单金额",index = 10)
- private BigDecimal amount;
- @TableField("currency_symbol")
- @ExcelProperty(value = "币种",index = 11)
- private String currencySymbol;
- @TableField("order_sn")
- @ExcelProperty(value = "订单号",index = 1)
- private String orderSn;
- @TableField(exist = false)
- @ExcelIgnore
- private String useTypeStr;
- @TableField(exist = false)
- @ExcelProperty(value = "数量",index = 12)
- private Integer count = 1;
- @TableField(exist = false)
- @ExcelProperty(value = "付款状态",index = 13)
- private String payStatus ;
- @TableField(exist = false)
- @ExcelProperty(value = "充值方式",index = 14)
- private String payType ="线下" ;
- public String getUseTypeStr() {
- return DictUtil.toStringUseType(useType);
- }
- }
|