package com.zy.asrs.entity.param; import com.core.common.BaseRes; import com.core.exception.CoolException; /** * Created by vincent on 2020/6/13 */ public class LocMastInitParam { // 起始排 private Integer startRow; // 终止排 private Integer endRow; // 起始列 private Integer startBay; // 终止列 private Integer endBay; // 起始层 private Integer startLev; // 终止层 private Integer endLev; // 堆垛机数量 private Integer crnAmount; // 库位类型: 1:低库位 2:高库位 private Integer whsType; public Integer getStartRow() { if (null == startRow) { throw new CoolException(BaseRes.PARAM); } return startRow; } public void setStartRow(Integer startRow) { this.startRow = startRow; } public Integer getEndRow() { if (null == endRow) { throw new CoolException(BaseRes.PARAM); } return endRow; } public void setEndRow(Integer endRow) { this.endRow = endRow; } public Integer getStartBay() { if (null == startBay) { throw new CoolException(BaseRes.PARAM); } return startBay; } public void setStartBay(Integer startBay) { this.startBay = startBay; } public Integer getEndBay() { if (null == endBay) { throw new CoolException(BaseRes.PARAM); } return endBay; } public void setEndBay(Integer endBay) { this.endBay = endBay; } public Integer getStartLev() { if (null == startLev) { throw new CoolException(BaseRes.PARAM); } return startLev; } public void setStartLev(Integer startLev) { this.startLev = startLev; } public Integer getEndLev() { if (null == endLev) { throw new CoolException(BaseRes.PARAM); } return endLev; } public void setEndLev(Integer endLev) { this.endLev = endLev; } public Integer getCrnAmount() { if (crnAmount == null) { throw new CoolException(BaseRes.PARAM); } return crnAmount; } public void setCrnAmount(Integer crnAmount) { this.crnAmount = crnAmount; } public Integer getWhsType() { return whsType; } public void setWhsType(Integer whsType) { this.whsType = whsType; } }