CZT
2023-09-25 b9e930a68548bbaa9b67b29541b74c013f3fb9eb
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
package com.ld.igds.phone.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ld.igds.constant.FoodVariety;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author chen
 */
@Data
public class DtoInoutRecord {
 
    private String id;
    private String companyId;
    private String intelCard;
    private String plateNum;
    private String depotId;
    private String depotName;
    private String type;
    private String typeName;
    private String customerId;
    private String customerName;
    private String foodVariety;
    private String foodVarietyName;
    private Double settleWeight = 0.0;
    private String userName;
    private String progress;
    private String progressName;
 
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date completeTime;
 
    public String getFoodVarietyName() {
        if (null != this.foodVariety) {
            return FoodVariety.getMsg(this.foodVariety);
        }
        return null;
    }
 
}