jiazx0107@163.com
2023-07-04 785ce007ce4b7b2119a99aacc95cefe9da09e32e
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 "其他";
    }
}