package com.zy.third.erp.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@NoArgsConstructor
|
@TableName("erp_ItemTB")
|
public class ItemTB implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "AutoId", type = IdType.AUTO)
|
private Integer autoId;
|
|
@ApiModelProperty(value= "")
|
@TableId(value = "ItemId", type = IdType.INPUT)
|
@TableField("ItemId")
|
private String ItemId;
|
|
|
@ApiModelProperty(value= "")
|
@TableField("ItemCode")
|
private String ItemCode;
|
|
@TableField("ItemName")
|
@ApiModelProperty(value= "")
|
private String ItemName;
|
|
@TableField("ItemSpc")
|
@ApiModelProperty(value= "")
|
private String ItemSpc;
|
|
@TableField("ItemPic")
|
private String itemPic;
|
|
@TableField("ItemUnit")
|
@ApiModelProperty(value= "")
|
private String ItemUnit;
|
|
/**
|
* 毛坯、半成品、成品
|
*/
|
@TableField("ItemKind")
|
@ApiModelProperty(value= "毛坯、半成品、成品")
|
private String ItemKind;
|
|
@ApiModelProperty(value= "")
|
@TableField("Remark")
|
private String Remark;
|
|
/**
|
* 00:新增 22:删除
|
*/
|
@ApiModelProperty(value= "00:新增 22:删除")
|
@TableField("Flag")
|
private String Flag;
|
|
@ApiModelProperty(value= "")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@TableField("MakeDate")
|
private Date MakeDate;
|
|
@ApiModelProperty(value= "")
|
@TableField("Temp1")
|
private String Temp1;
|
|
@ApiModelProperty(value= "")
|
@TableField("Temp2")
|
private String Temp2;
|
|
@ApiModelProperty(value= "")
|
@TableField("Temp3")
|
private String Temp3;
|
|
@ApiModelProperty(value= "")
|
@TableField("LKName")
|
private String LKName;
|
/**
|
* 订单号
|
*/
|
@TableField("order_no")
|
private String orderNo;
|
|
/**
|
* 炉号\客户图号
|
*/
|
@TableField("lu_hao")
|
private String luHao;
|
|
/**
|
* 工单号
|
*/
|
@TableField("pg_no")
|
private String sPgNO;
|
|
// ItemTB itemTB = new ItemTB(
|
// null, // [非空]
|
// null, // [非空]
|
// null, // [非空]
|
// null, //
|
// null, // [非空]
|
// null, // 毛坯、半成品、成品
|
// null, //
|
// null, // 00:新增 22:删除
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null //
|
// );
|
|
public String getItemId() {
|
return ItemId;
|
}
|
|
public void setItemId(String ItemID) {
|
this.ItemId = ItemID;
|
}
|
|
public String getItemCode() {
|
return ItemCode;
|
}
|
|
public void setItemCode(String ItemCode) {
|
this.ItemCode = ItemCode;
|
}
|
|
public String getItemName() {
|
return ItemName;
|
}
|
|
public void setItemName(String ItemName) {
|
this.ItemName = ItemName;
|
}
|
|
public String getItemSpc() {
|
return ItemSpc;
|
}
|
|
public void setItemSpc(String ItemSpc) {
|
this.ItemSpc = ItemSpc;
|
}
|
|
public String getItemUnit() {
|
return ItemUnit;
|
}
|
|
public void setItemUnit(String ItemUnit) {
|
this.ItemUnit = ItemUnit;
|
}
|
|
public String getItemKind() {
|
return ItemKind;
|
}
|
|
public void setItemKind(String ItemKind) {
|
this.ItemKind = ItemKind;
|
}
|
|
public String getRemark() {
|
return Remark;
|
}
|
|
public void setRemark(String remark) {
|
this.Remark = remark;
|
}
|
|
public String getFlag() {
|
return Flag;
|
}
|
|
public void setFlag(String flag) {
|
this.Flag = flag;
|
}
|
|
public Date getMakeDate() {
|
return MakeDate;
|
}
|
|
public String getMakedate$(){
|
if (Cools.isEmpty(this.MakeDate)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.MakeDate);
|
}
|
|
public void setMakeDate(Date makeDate) {
|
this.MakeDate = makeDate;
|
}
|
|
public String getTemp1() {
|
return Temp1;
|
}
|
|
public void setTemp1(String temp1) {
|
this.Temp1 = temp1;
|
}
|
|
public String getTemp2() {
|
return Temp2;
|
}
|
|
public void setTemp2(String temp2) {
|
this.Temp2 = temp2;
|
}
|
|
public String getTemp3() {
|
return Temp3;
|
}
|
|
public void setTemp3(String temp3) {
|
this.Temp3 = temp3;
|
}
|
|
|
|
|
}
|