|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.wms.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -33,4 +35,25 @@ public class StockLocation extends BaseBean {
|
|
|
|
|
@Column(name="LOC_NAME")
|
|
|
|
|
@ApiParam("仓库库位名称")
|
|
|
|
|
public String locName;
|
|
|
|
|
|
|
|
|
|
@Column(name="AREA_ID")
|
|
|
|
|
@ApiParam(value = "库区编号", example = "-1")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
public Long areaId;
|
|
|
|
|
|
|
|
|
|
@Column(name="AREA_CODE_RDD")
|
|
|
|
|
@ApiParam("库区代码")
|
|
|
|
|
public String areaCodeRdd;
|
|
|
|
|
|
|
|
|
|
@Column(name="AREA_NAME_RDD")
|
|
|
|
|
@ApiParam("库区名称")
|
|
|
|
|
public String areaNameRdd;
|
|
|
|
|
|
|
|
|
|
public Long getAreaId() {
|
|
|
|
|
if(areaId != null) {
|
|
|
|
|
return areaId.longValue();
|
|
|
|
|
}else{
|
|
|
|
|
return areaId;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|