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;
|
}
|
|
}
|