格式化代码
This commit is contained in:
parent
8b967dda27
commit
9918b476dd
@ -1,162 +1,179 @@
|
|||||||
package com.ktg.mes.wm.domain;
|
package com.ktg.mes.wm.domain;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
||||||
import com.ktg.common.annotation.Excel;
|
import com.ktg.common.annotation.Excel;
|
||||||
import com.ktg.common.core.domain.BaseEntity;
|
import com.ktg.common.core.domain.BaseEntity;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 库位设置对象 wm_storage_area
|
* 库位设置对象 wm_storage_area
|
||||||
*
|
*
|
||||||
* @author yinjinlu
|
* @author yinjinlu
|
||||||
* @date 2022-05-08
|
* @date 2022-05-08
|
||||||
*/
|
*/
|
||||||
public class WmStorageArea extends BaseEntity
|
public class WmStorageArea extends BaseEntity {
|
||||||
{
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/** 库位ID */
|
/**
|
||||||
|
* 库位ID
|
||||||
|
*/
|
||||||
private Long areaId;
|
private Long areaId;
|
||||||
|
|
||||||
/** 库位编码 */
|
/**
|
||||||
|
* 库位编码
|
||||||
|
*/
|
||||||
@Excel(name = "库位编码")
|
@Excel(name = "库位编码")
|
||||||
private String areaCode;
|
private String areaCode;
|
||||||
|
|
||||||
/** 库位名称 */
|
/**
|
||||||
|
* 库位名称
|
||||||
|
*/
|
||||||
@Excel(name = "库位名称")
|
@Excel(name = "库位名称")
|
||||||
private String areaName;
|
private String areaName;
|
||||||
|
|
||||||
/** 库区ID */
|
/**
|
||||||
|
* 库区ID
|
||||||
|
*/
|
||||||
@Excel(name = "库区ID")
|
@Excel(name = "库区ID")
|
||||||
private Long locationId;
|
private Long locationId;
|
||||||
|
|
||||||
/** 面积 */
|
/**
|
||||||
|
* 面积
|
||||||
|
*/
|
||||||
@Excel(name = "面积")
|
@Excel(name = "面积")
|
||||||
private BigDecimal area;
|
private BigDecimal area;
|
||||||
|
|
||||||
/** 最大载重量 */
|
/**
|
||||||
|
* 最大载重量
|
||||||
|
*/
|
||||||
@Excel(name = "最大载重量")
|
@Excel(name = "最大载重量")
|
||||||
private BigDecimal maxLoa;
|
private BigDecimal maxLoa;
|
||||||
|
|
||||||
/** 库位位置X */
|
/**
|
||||||
|
* 库位位置X
|
||||||
|
*/
|
||||||
@Excel(name = "库位位置X")
|
@Excel(name = "库位位置X")
|
||||||
private Long positionX;
|
private Long positionX;
|
||||||
|
|
||||||
/** 库位位置y */
|
/**
|
||||||
|
* 库位位置y
|
||||||
|
*/
|
||||||
@Excel(name = "库位位置y")
|
@Excel(name = "库位位置y")
|
||||||
private Long positionY;
|
private Long positionY;
|
||||||
|
|
||||||
/** 库位位置z */
|
/**
|
||||||
|
* 库位位置z
|
||||||
|
*/
|
||||||
@Excel(name = "库位位置z")
|
@Excel(name = "库位位置z")
|
||||||
private Long positionZ;
|
private Long positionZ;
|
||||||
|
|
||||||
/** 是否启用 */
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*/
|
||||||
@Excel(name = "是否启用")
|
@Excel(name = "是否启用")
|
||||||
private String enableFlag;
|
private String enableFlag;
|
||||||
|
|
||||||
private String frozenFlag;
|
private String frozenFlag;
|
||||||
|
|
||||||
/** 预留字段1 - 为空或者ORDINARY表示普通空间-BIG表示大空间 */
|
/**
|
||||||
|
* 预留字段1 - 为空或者ORDINARY表示普通空间-BIG表示大空间
|
||||||
|
*/
|
||||||
private String attr1;
|
private String attr1;
|
||||||
|
|
||||||
/** 预留字段2 */
|
/**
|
||||||
|
* 预留字段2 - 为空或者ENABLE表示启用-DISABLED表示禁用
|
||||||
|
*/
|
||||||
private String attr2;
|
private String attr2;
|
||||||
|
|
||||||
/** 预留字段3 */
|
/**
|
||||||
|
* 预留字段3
|
||||||
|
*/
|
||||||
private Long attr3;
|
private Long attr3;
|
||||||
|
|
||||||
/** 预留字段4 */
|
/**
|
||||||
|
* 预留字段4
|
||||||
|
*/
|
||||||
private Long attr4;
|
private Long attr4;
|
||||||
|
|
||||||
public void setAreaId(Long areaId)
|
public void setAreaId(Long areaId) {
|
||||||
{
|
|
||||||
this.areaId = areaId;
|
this.areaId = areaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getAreaId()
|
public Long getAreaId() {
|
||||||
{
|
|
||||||
return areaId;
|
return areaId;
|
||||||
}
|
}
|
||||||
public void setAreaCode(String areaCode)
|
|
||||||
{
|
public void setAreaCode(String areaCode) {
|
||||||
this.areaCode = areaCode;
|
this.areaCode = areaCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAreaCode()
|
public String getAreaCode() {
|
||||||
{
|
|
||||||
return areaCode;
|
return areaCode;
|
||||||
}
|
}
|
||||||
public void setAreaName(String areaName)
|
|
||||||
{
|
public void setAreaName(String areaName) {
|
||||||
this.areaName = areaName;
|
this.areaName = areaName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAreaName()
|
public String getAreaName() {
|
||||||
{
|
|
||||||
return areaName;
|
return areaName;
|
||||||
}
|
}
|
||||||
public void setLocationId(Long locationId)
|
|
||||||
{
|
public void setLocationId(Long locationId) {
|
||||||
this.locationId = locationId;
|
this.locationId = locationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getLocationId()
|
public Long getLocationId() {
|
||||||
{
|
|
||||||
return locationId;
|
return locationId;
|
||||||
}
|
}
|
||||||
public void setArea(BigDecimal area)
|
|
||||||
{
|
public void setArea(BigDecimal area) {
|
||||||
this.area = area;
|
this.area = area;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getArea()
|
public BigDecimal getArea() {
|
||||||
{
|
|
||||||
return area;
|
return area;
|
||||||
}
|
}
|
||||||
public void setMaxLoa(BigDecimal maxLoa)
|
|
||||||
{
|
public void setMaxLoa(BigDecimal maxLoa) {
|
||||||
this.maxLoa = maxLoa;
|
this.maxLoa = maxLoa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getMaxLoa()
|
public BigDecimal getMaxLoa() {
|
||||||
{
|
|
||||||
return maxLoa;
|
return maxLoa;
|
||||||
}
|
}
|
||||||
public void setPositionX(Long positionX)
|
|
||||||
{
|
public void setPositionX(Long positionX) {
|
||||||
this.positionX = positionX;
|
this.positionX = positionX;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getPositionX()
|
public Long getPositionX() {
|
||||||
{
|
|
||||||
return positionX;
|
return positionX;
|
||||||
}
|
}
|
||||||
public void setPositionY(Long positionY)
|
|
||||||
{
|
public void setPositionY(Long positionY) {
|
||||||
this.positionY = positionY;
|
this.positionY = positionY;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getPositionY()
|
public Long getPositionY() {
|
||||||
{
|
|
||||||
return positionY;
|
return positionY;
|
||||||
}
|
}
|
||||||
public void setPositionZ(Long positionZ)
|
|
||||||
{
|
public void setPositionZ(Long positionZ) {
|
||||||
this.positionZ = positionZ;
|
this.positionZ = positionZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getPositionZ()
|
public Long getPositionZ() {
|
||||||
{
|
|
||||||
return positionZ;
|
return positionZ;
|
||||||
}
|
}
|
||||||
public void setEnableFlag(String enableFlag)
|
|
||||||
{
|
public void setEnableFlag(String enableFlag) {
|
||||||
this.enableFlag = enableFlag;
|
this.enableFlag = enableFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getEnableFlag()
|
public String getEnableFlag() {
|
||||||
{
|
|
||||||
return enableFlag;
|
return enableFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,65 +185,60 @@ public class WmStorageArea extends BaseEntity
|
|||||||
this.frozenFlag = frozenFlag;
|
this.frozenFlag = frozenFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAttr1(String attr1)
|
public void setAttr1(String attr1) {
|
||||||
{
|
|
||||||
this.attr1 = attr1;
|
this.attr1 = attr1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAttr1()
|
public String getAttr1() {
|
||||||
{
|
|
||||||
return attr1;
|
return attr1;
|
||||||
}
|
}
|
||||||
public void setAttr2(String attr2)
|
|
||||||
{
|
public void setAttr2(String attr2) {
|
||||||
this.attr2 = attr2;
|
this.attr2 = attr2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAttr2()
|
public String getAttr2() {
|
||||||
{
|
|
||||||
return attr2;
|
return attr2;
|
||||||
}
|
}
|
||||||
public void setAttr3(Long attr3)
|
|
||||||
{
|
public void setAttr3(Long attr3) {
|
||||||
this.attr3 = attr3;
|
this.attr3 = attr3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getAttr3()
|
public Long getAttr3() {
|
||||||
{
|
|
||||||
return attr3;
|
return attr3;
|
||||||
}
|
}
|
||||||
public void setAttr4(Long attr4)
|
|
||||||
{
|
public void setAttr4(Long attr4) {
|
||||||
this.attr4 = attr4;
|
this.attr4 = attr4;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getAttr4()
|
public Long getAttr4() {
|
||||||
{
|
|
||||||
return attr4;
|
return attr4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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("areaId", getAreaId())
|
.append("areaId", getAreaId())
|
||||||
.append("areaCode", getAreaCode())
|
.append("areaCode", getAreaCode())
|
||||||
.append("areaName", getAreaName())
|
.append("areaName", getAreaName())
|
||||||
.append("locationId", getLocationId())
|
.append("locationId", getLocationId())
|
||||||
.append("area", getArea())
|
.append("area", getArea())
|
||||||
.append("maxLoa", getMaxLoa())
|
.append("maxLoa", getMaxLoa())
|
||||||
.append("positionX", getPositionX())
|
.append("positionX", getPositionX())
|
||||||
.append("positionY", getPositionY())
|
.append("positionY", getPositionY())
|
||||||
.append("positionZ", getPositionZ())
|
.append("positionZ", getPositionZ())
|
||||||
.append("enableFlag", getEnableFlag())
|
.append("enableFlag", getEnableFlag())
|
||||||
.append("remark", getRemark())
|
.append("remark", getRemark())
|
||||||
.append("attr1", getAttr1())
|
.append("attr1", getAttr1())
|
||||||
.append("attr2", getAttr2())
|
.append("attr2", getAttr2())
|
||||||
.append("attr3", getAttr3())
|
.append("attr3", getAttr3())
|
||||||
.append("attr4", getAttr4())
|
.append("attr4", getAttr4())
|
||||||
.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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user