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.
109 lines
2.2 KiB
Java
109 lines
2.2 KiB
Java
package com.glxp.api.entity.inout;
|
|
|
|
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.util.Date;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 多级包装关联关系表
|
|
*/
|
|
@Data
|
|
@TableName(value = "io_code_rel")
|
|
public class IoCodeRelEntity {
|
|
@TableId(value = "id", type = IdType.INPUT)
|
|
private Long id;
|
|
|
|
/**
|
|
* UDI码
|
|
*/
|
|
@TableField(value = "code")
|
|
private String code;
|
|
|
|
/**
|
|
* 父码
|
|
*/
|
|
@TableField(value = "parentCode")
|
|
private String parentCode;
|
|
|
|
/**
|
|
* DI产品标识
|
|
*/
|
|
@TableField(value = "nameCode")
|
|
private String nameCode;
|
|
|
|
/**
|
|
* DI类型
|
|
*/
|
|
@TableField(value = "diType")
|
|
private Integer diType;
|
|
|
|
/**
|
|
* 主产品DI标识
|
|
*/
|
|
@TableField(value = "mainNameCode")
|
|
private String mainNameCode;
|
|
|
|
/**
|
|
* 级别
|
|
*/
|
|
@TableField(value = "`level`")
|
|
private String level;
|
|
|
|
/**
|
|
* 生产日期
|
|
*/
|
|
@TableField(value = "produceDate")
|
|
private String produceDate;
|
|
|
|
/**
|
|
* 失效日期
|
|
*/
|
|
@TableField(value = "expireDate")
|
|
private String expireDate;
|
|
|
|
/**
|
|
* 序列号
|
|
*/
|
|
@TableField(value = "serialNo")
|
|
private String serialNo;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
@TableField(value = "createTime")
|
|
private Date createTime;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
@TableField(value = "updateTime")
|
|
private Date updateTime;
|
|
|
|
public static final String COL_ID = "id";
|
|
|
|
public static final String COL_CODE = "code";
|
|
|
|
public static final String COL_PARENTCODE = "parentCode";
|
|
|
|
public static final String COL_NAMECODE = "nameCode";
|
|
|
|
public static final String COL_DITYPE = "diType";
|
|
|
|
public static final String COL_MAINNAMECODE = "mainNameCode";
|
|
|
|
public static final String COL_LEVEL = "level";
|
|
|
|
public static final String COL_PRODUCEDATE = "produceDate";
|
|
|
|
public static final String COL_EXPIREDATE = "expireDate";
|
|
|
|
public static final String COL_SERIALNO = "serialNo";
|
|
|
|
public static final String COL_CREATETIME = "createTime";
|
|
|
|
public static final String COL_UPDATETIME = "updateTime";
|
|
}
|