基础版 优化
parent
ba5178d568
commit
50850e5038
@ -0,0 +1,28 @@
|
||||
package com.zhehekeji.web.pojo.stock;
|
||||
|
||||
import com.zhehekeji.web.entity.Stock;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class CheckStatus {
|
||||
|
||||
private List<Stock> stocks;
|
||||
|
||||
private Integer columnStart;
|
||||
|
||||
private Integer columnEnd;
|
||||
|
||||
private Integer rowStart;
|
||||
|
||||
private Integer rowEnd;
|
||||
|
||||
private String shelveId;
|
||||
|
||||
private Map<String,Integer> rowTabStatus;
|
||||
|
||||
private Map<String,Integer> columnTabStatus;
|
||||
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
package com.zhehekeji.web.pojo.stock;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NonNull;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class RowColumnStatus {
|
||||
|
||||
@NotNull(message = "column is null")
|
||||
private Integer columnStart;
|
||||
|
||||
@NotNull(message = "column is null")
|
||||
private Integer columnEnd;
|
||||
|
||||
@NotNull(message = "row is null")
|
||||
private Integer rowStart;
|
||||
|
||||
@NotNull(message = "row is null")
|
||||
private Integer rowEnd;
|
||||
|
||||
@NotEmpty(message = "shelveId is empty")
|
||||
private String shelveId;
|
||||
|
||||
private List<String> rowTabs;
|
||||
|
||||
private List<String> columnTabs;
|
||||
}
|
||||
Loading…
Reference in New Issue