refactor(入库计划明细实例): 实体修改

This commit is contained in:
LJW 2024-11-08 14:46:23 +08:00
parent bc0aa1e44a
commit d6de6d9a38

View File

@ -7,105 +7,109 @@ import com.ktg.common.core.domain.BaseEntity;
/** /**
* 入库计划明细实体对象 WMS_IN_PLAN_DETAIL_ENTITY * 入库计划明细实体对象 WMS_IN_PLAN_DETAIL_ENTITY
* *
* @author yinjinlu * @author yinjinlu
* @date 2024-11-05 * @date 2024-11-05
*/ */
public class WmsInPlanDetailEntity extends BaseEntity public class WmsInPlanDetailEntity extends BaseEntity {
{
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** $column.columnComment */ /**
* $column.columnComment
*/
private Long id; private Long id;
/** 入库计划ID */ /**
* 入库计划ID
*/
@Excel(name = "入库计划ID") @Excel(name = "入库计划ID")
private String planId; private Long planId;
/** 入库计划明细ID */ /**
* 入库计划明细ID
*/
@Excel(name = "入库计划明细ID") @Excel(name = "入库计划明细ID")
private String planDetailsId; private Long planDetailsId;
/** 来源 */ /**
* 来源
*/
@Excel(name = "来源") @Excel(name = "来源")
private String source; private String source;
/** 台账ID */ /**
* 台账ID
*/
@Excel(name = "台账ID") @Excel(name = "台账ID")
private String knifeId; private Long knifeId;
/** 消耗寿命 */ /**
* 消耗寿命
*/
@Excel(name = "消耗寿命") @Excel(name = "消耗寿命")
private String consumeLife; private Integer consumeLife;
public void setId(Long id) public void setId(Long id) {
{
this.id = id; this.id = id;
} }
public Long getId() public Long getId() {
{
return id; return id;
} }
public void setPlanId(String planId)
{ public void setPlanId(Long planId) {
this.planId = planId; this.planId = planId;
} }
public String getPlanId() public Long getPlanId() {
{
return planId; return planId;
} }
public void setPlanDetailsId(String planDetailsId)
{ public void setPlanDetailsId(Long planDetailsId) {
this.planDetailsId = planDetailsId; this.planDetailsId = planDetailsId;
} }
public String getPlanDetailsId() public Long getPlanDetailsId() {
{
return planDetailsId; return planDetailsId;
} }
public void setSource(String source)
{ public void setSource(String source) {
this.source = source; this.source = source;
} }
public String getSource() public String getSource() {
{
return source; return source;
} }
public void setKnifeId(String knifeId)
{ public void setKnifeId(Long knifeId) {
this.knifeId = knifeId; this.knifeId = knifeId;
} }
public String getKnifeId() public Long getKnifeId() {
{
return knifeId; return knifeId;
} }
public void setconsumeLife(String consumeLife)
{ public void setConsumeLife(Integer consumeLife) {
this.consumeLife = consumeLife; this.consumeLife = consumeLife;
} }
public String getconsumeLife() public Integer getConsumeLife() {
{
return consumeLife; return consumeLife;
} }
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("planId", getPlanId()) .append("planId", getPlanId())
.append("planDetailsId", getPlanDetailsId()) .append("planDetailsId", getPlanDetailsId())
.append("source", getSource()) .append("source", getSource())
.append("knifeId", getKnifeId()) .append("knifeId", getKnifeId())
.append("consumeLife", getconsumeLife()) .append("consumeLife", getConsumeLife())
.append("createBy", getCreateBy()) .append("createBy", getCreateBy())
.append("createTime", getCreateTime()) .append("createTime", getCreateTime())
.append("updateBy", getUpdateBy()) .append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime()) .append("updateTime", getUpdateTime())
.toString(); .toString();
} }
} }