YYC
2023-06-15 a8da7c463224b9a5bc4628197afe4d9f7d05361c
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
package com.ld.igds.phone35.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ld.igds.constant.DepotStatus;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author chen
 */
@Data
public class DtoPhonePest {
 
    private String depotId;
    private String depotName;
    private String depotStatus;
    private String depotStatusName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM-dd HH:mm", timezone = "GMT+8")
    private Date receiveDate;
    private String isPest;
    private Integer pestNum;
 
    public String getDepotStatusName() {
        if (null != this.depotStatus) {
            return DepotStatus.getMsg(this.depotStatus);
        }
        return "其他";
    }
}