jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
56
57
58
59
60
61
62
package com.ld.igds.phone35.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ld.igds.constant.FoodLevel;
import com.ld.igds.constant.FoodVariety;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 入库待值仓、出库待值仓封装
 * @author chen
 */
@Data
public class Phone35InoutDto {
 
    private String id;
    private String companyId;
    private String intelCard;
    private String plateNum;
    private String type;
    private String typeName;
    private String depotId;
    private String depotName;
    private Double deHandle;
    private String customerId;
    private String customerName;
    private String foodVariety;
    private String foodVarietyName;
    private Double recordWeight;
    private String foodLevel;
    private String foodLevelName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date handleStart;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date handelEnd;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date completeTime;
    private String progress;
    private String progressName;
 
    private String fileName1;
    private String fileName2;
 
    private String base64Img1;
    private String base64Img2;
 
    public String getFoodVarietyName() {
        if (null != this.foodVariety) {
            return FoodVariety.getMsg(this.foodVariety);
        }
        return null;
    }
 
    public String getFoodLevelName() {
        if (null != this.foodLevel) {
            return FoodLevel.getMsg(this.foodLevel);
        }
        return null;
    }
 
}