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