You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-cpt-java/src/main/java/com/glxp/api/entity/trace/TraceOrderEntity.java

170 lines
3.5 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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 = "toUserInfo")
private String toUserInfo;
/**
* 单据创建者
*/
@TableField(value = "`createUser`")
private Long createUser;
/**
* 企业信息ID外键
*/
@TableField(value = "companyIdFk")
private Long companyIdFk;
/**
* 当前企业统一社会信用号
*/
@TableField(value = "companyCertNum")
private String companyCertNum;
/**
* 客户端类型
*/
@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;
/**
* 单据源头类型1:起始位置(例如:生产企业) 2: 中间位置:流通企业3结束位置:(例如:医疗机构使用,或一些销毁等)
*/
@TableField(value = "sourceType")
private Long sourceType;
private static final long serialVersionUID = 1L;
}