package com.zy.ints.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
@Data
|
@TableName("bas_erp_lk_bak")
|
public class ErpLkBak implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 品号
|
*/
|
@ApiModelProperty(value = "品号")
|
@TableId(value = "prd_no", type = IdType.INPUT)
|
@TableField("prd_no")
|
private String prdNo;
|
|
/**
|
* 货品特征
|
*/
|
@ApiModelProperty(value = "货品特征")
|
@TableId(value = "prd_mark", type = IdType.INPUT)
|
@TableField("prd_mark")
|
private String prdMark;
|
|
/**
|
* 数量
|
*/
|
@ApiModelProperty(value = "数量")
|
private Double qty;
|
|
/**
|
* 仓库
|
*/
|
@ApiModelProperty(value = "仓库")
|
private String wh;
|
|
/**
|
* 状态:0(初始状态)、1(已接收)、2(异常)
|
*/
|
@ApiModelProperty(value = "状态:0(初始状态)、1(已接收)、2(异常)")
|
private Integer status;
|
|
/**
|
* 备用字段1
|
*/
|
@ApiModelProperty(value = "备用字段1")
|
private String temp1;
|
|
/**
|
* 备用字段2
|
*/
|
@ApiModelProperty(value = "备用字段2")
|
private String temp2;
|
|
/**
|
* 备用字段3
|
*/
|
@ApiModelProperty(value = "备用字段3")
|
private String temp3;
|
|
public ErpLkBak() {
|
}
|
|
public ErpLkBak(String prdNo, String prdMark, Double qty, String wh, Integer status, String temp1, String temp2, String temp3) {
|
this.prdNo = prdNo;
|
this.prdMark = prdMark;
|
this.qty = qty;
|
this.wh = wh;
|
this.status = status;
|
this.temp1 = temp1;
|
this.temp2 = temp2;
|
this.temp3 = temp3;
|
}
|
|
// ErpLk erpLk = new ErpLk(
|
// null, // id[非空]
|
// null, // 品号[非空]
|
// null, // 货品特征[非空]
|
// null, // 数量[非空]
|
// null, // 仓库
|
// null, // 状态:0(初始状态)、1(已接收)、2(异常)[非空]
|
// null, // 备用字段1
|
// null, // 备用字段2
|
// null // 备用字段3
|
// );
|
|
|
}
|