| | |
| | | package com.zy.asrs.entity; |
| | | |
| | | import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.system.service.UserService; |
| | | import com.zy.system.entity.User; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.system.service.UserService; |
| | | import com.zy.system.entity.User; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @TableName("asr_loc_rule") |
| | |
| | | /** |
| | | * 商品编号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | @ExcelProperty(value = "物料编码前4位") |
| | | private String matnr; |
| | | |
| | | /** |
| | |
| | | * 批号 |
| | | */ |
| | | @ApiModelProperty(value= "批号") |
| | | @ExcelProperty(value = "批号") |
| | | private String batch; |
| | | |
| | | /** |
| | | * 其他 |
| | | */ |
| | | @ApiModelProperty(value= "其他") |
| | | @ExcelProperty(value = "库区") |
| | | private String other; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "开始排") |
| | | @TableField("row_beg") |
| | | @ExcelProperty(value = "开始排") |
| | | private Integer rowBeg; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "结束排") |
| | | @TableField("row_end") |
| | | @ExcelProperty(value = "结束排") |
| | | private Integer rowEnd; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "开始列") |
| | | @TableField("bay_beg") |
| | | @ExcelProperty(value = "开始列") |
| | | private Integer bayBeg; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "结束列") |
| | | @TableField("bay_end") |
| | | @ExcelProperty(value = "结束列") |
| | | private Integer bayEnd; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "开始层") |
| | | @TableField("lev_beg") |
| | | @ExcelProperty(value = "开始层") |
| | | private Integer levBeg; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "结束层") |
| | | @TableField("lev_end") |
| | | @ExcelProperty(value = "结束层") |
| | | private Integer levEnd; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "添加人员") |
| | | @TableField("create_by") |
| | | @ExcelProperty(value = "添加人员") |
| | | private Long createBy; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 是否支持混载{0:不支持,1:支持} |
| | | */ |
| | | @ApiModelProperty(value= "是否支持混载") |
| | | private Integer mixed; |
| | | |
| | | /** |
| | | * 支持混载情况下,没找到库位是否继续寻找{0:否,1:是} |
| | | */ |
| | | @ApiModelProperty(value= "是否继续寻找") |
| | | @TableField("keep_go") |
| | | private Integer keepGo; |
| | | |
| | | public LocRule() {} |
| | | |
| | | public LocRule(String matnr,String specs,String model,String cstmr,String batch,String other,Integer rowBeg,Integer rowEnd,Integer bayBeg,Integer bayEnd,Integer levBeg,Integer levEnd,Integer limit,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | public LocRule(String matnr,String specs,String model,String cstmr,String batch,String other,Integer rowBeg,Integer rowEnd,Integer bayBeg,Integer bayEnd,Integer levBeg,Integer levEnd,Integer limit,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Integer mixed) { |
| | | this.matnr = matnr; |
| | | this.specs = specs; |
| | | this.model = model; |
| | |
| | | this.updateBy = updateBy; |
| | | this.updateTime = updateTime; |
| | | this.memo = memo; |
| | | this.mixed = mixed; |
| | | } |
| | | |
| | | // LocRule locRule = new LocRule( |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); |
| | | } |
| | | |
| | | public String getMixed$() { |
| | | if (this.mixed == null) { |
| | | return ""; |
| | | } |
| | | return this.mixed == 1 ? "是" : "否"; |
| | | } |
| | | |
| | | public String getKeepGo$() { |
| | | if (this.keepGo == null) { |
| | | return ""; |
| | | } |
| | | return this.keepGo == 1 ? "是" : "否"; |
| | | } |
| | | |
| | | } |