package com.zy.asrs.entity;
|
|
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@TableName("asr_erp_mat")
|
public class ErpMat implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 自增id
|
*/
|
@ApiModelProperty(value= "自增id")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 物料编码
|
*/
|
@ApiModelProperty(value= "物料编码")
|
private String matNr;
|
|
/**
|
* 物料名称
|
*/
|
@ApiModelProperty(value= "物料名称")
|
private String makTx;
|
|
/**
|
* 物料分组编码
|
*/
|
@ApiModelProperty(value= "物料分组编码")
|
@TableField("group_id")
|
private String groupId;
|
|
/**
|
* 物料分组
|
*/
|
@ApiModelProperty(value= "物料分组")
|
@TableField("group_name")
|
private String groupName;
|
|
/**
|
* 规格
|
*/
|
@ApiModelProperty(value= "规格")
|
private String spec;
|
|
/**
|
* 型号
|
*/
|
@ApiModelProperty(value= "型号")
|
private String model;
|
|
/**
|
* 重量
|
*/
|
@ApiModelProperty(value= "重量")
|
private Double weight;
|
|
/**
|
* 颜色
|
*/
|
@ApiModelProperty(value= "颜色")
|
private String color;
|
|
/**
|
* 尺寸
|
*/
|
@ApiModelProperty(value= "尺寸")
|
private String size;
|
|
/**
|
* 单位
|
*/
|
@ApiModelProperty(value= "单位")
|
private String unit;
|
|
/**
|
* 描述
|
*/
|
@ApiModelProperty(value= "描述")
|
private String describe;
|
|
/**
|
* 仓库Id
|
*/
|
@ApiModelProperty(value= "仓库Id")
|
@TableField("wareHouse_id")
|
private String wareHouseId;
|
|
/**
|
* 操作类型,1 新增(默认);2 修改;3 禁用;4 启用;
|
*/
|
@ApiModelProperty(value= "操作类型,1 新增(默认);2 修改;3 禁用;4 启用;")
|
@TableField("operate_type")
|
private Integer operateType;
|
|
/**
|
* 1:已发送 0:待发送
|
*/
|
@ApiModelProperty(value= "1:已发送 0:待发送")
|
@TableField("send_status")
|
private Integer sendStatus;
|
|
public ErpMat() {}
|
|
public ErpMat(String matNr,String makTx,String groupId,String groupName,String spec,String model,Double weight,String color,String size,String unit,String describe,String wareHouseId,Integer operateType,Integer sendStatus) {
|
this.matNr = matNr;
|
this.makTx = makTx;
|
this.groupId = groupId;
|
this.groupName = groupName;
|
this.spec = spec;
|
this.model = model;
|
this.weight = weight;
|
this.color = color;
|
this.size = size;
|
this.unit = unit;
|
this.describe = describe;
|
this.wareHouseId = wareHouseId;
|
this.operateType = operateType;
|
this.sendStatus = sendStatus;
|
}
|
|
// ErpMat erpMat = new ErpMat(
|
// null, // 物料编码[非空]
|
// null, // 物料名称[非空]
|
// null, // 物料分组编码
|
// null, // 物料分组
|
// null, // 规格
|
// null, // 型号
|
// null, // 重量
|
// null, // 颜色
|
// null, // 尺寸
|
// null, // 单位
|
// null, // 描述
|
// null, // 仓库Id
|
// null, // 操作类型,1 新增(默认);2 修改;3 禁用;4 启用;
|
// null // 1:已发送 0:待发送
|
// );
|
|
|
}
|