自动化立体仓库 - WMS系统
#
LSH
2023-12-15 b9eee33b8d3f3adf57fd40a9ff225c6717d20158
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.zy.asrs.entity;
 
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.text.SimpleDateFormat;
import java.util.Date;
 
@Data
@ExcelIgnoreUnannotated
public class LocDetlWarningDTO {
 
    private int pageNumber;
    private int pageSize;
    private Integer row;
    @ExcelProperty("库位号")
    private String locNo;
    @ExcelProperty("物料码")
    private String matnr;
    @ExcelProperty("物料名")
    private String maktx;
    @ExcelProperty("入库时间")
    private Date createTime;
    @ExcelProperty("规格")
    private String specs;
    @ExcelProperty("库存上限")
    private String inventoryMax;
    @ExcelProperty("库存下限")
    private String inventoryMin;
    @ExcelProperty("库龄上限")
    private String inventoryAgeMax;
    @ExcelProperty("库存总数量")
    private Integer countAnfme;
    @ExcelProperty("在库天数")
    private Integer diffTime;
 
    public String getcreateTime$(){
        if (Cools.isEmpty(this.createTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
    }
 
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}