package com.glxp.api.entity.trace; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 任务结果表 */ @Data @TableName(value = "trace_order") public class TraceOrderEntity implements Serializable { @TableId(value = "id", type = IdType.INPUT) private Long id; /** * 单据号 */ @TableField(value = "billNo") private String billNo; /** * 单据时间 */ @TableField(value = "billDate") private String billDate; /** * 1:入库;2:出库 */ @TableField(value = "inOutType") private Byte inOutType; /** * 单据类型 */ @TableField(value = "billType") private String billType; /** * 发货企业 */ @TableField(value = "fromCorp") private String fromCorp; /** * 发货企业统一社会信用号 */ @TableField(value = "fromCorpCreditNum") private String fromCorpCreditNum; /** * 收货企业 */ @TableField(value = "toCorp") private String toCorp; /** * 收货企业统一社会信用号 */ @TableField(value = "toCorpCreditNum") private String toCorpCreditNum; /** * 单据创建者 */ @TableField(value = "`createUser`") private Long createUser; /** * 企业信息ID外键 */ @TableField(value = "companyIdFk") private Long companyIdFk; /** * 客户端类型 */ @TableField(value = "clientType") private Integer clientType; /** * 退货原因(退货时填写) */ @TableField(value = "returnReason") private String returnReason; /** * 销毁原因(销毁时填写) */ @TableField(value = "destoryReason") private String destoryReason; /** * 执行销毁人(销毁时填写) */ @TableField(value = "excuseUser") private String excuseUser; /** * 执行销毁人证件号(销毁时填写) */ @TableField(value = "excuseCode") private String excuseCode; /** * 监督人姓名【销毁出库时填写】 */ @TableField(value = "superviserUser") private String superviserUser; /** * 监督人证件号【销毁出库时填写】 */ @TableField(value = "superviserCode") private String superviserCode; /** * 上传着ID */ @TableField(value = "uploadUser") private Long uploadUser; /** * 备注 */ @TableField(value = "remark") private String remark; /** * 更新时间 */ @TableField(value = "updateTime") private Date updateTime; /** * 查询产品记录号外键 */ @TableField(value = "traceProductIdFk") private Long traceProductIdFk; private static final long serialVersionUID = 1L; }