package com.ruoyi.buss.domain.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.buss.domain.DsTaskDetail;
|
import com.ruoyi.common.annotation.Excel;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
public class DsTaskDetailVO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private Long PKID;
|
private Long taskId;
|
private Long harborId;
|
private String harborName;
|
private Long berthId;
|
private String berthName;
|
private String parkingType;
|
private String shipNo;
|
private String shipType;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date STIME;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date elecStime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date elecEtime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date waterStime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date waterEtime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date oilStime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date oilEtime;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date ammoStime;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date ammoEtime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date matStime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date matEtime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date ETIME;
|
|
private Integer oilTime;
|
|
private Integer ammoTime;
|
|
private Integer matTime;
|
private Integer waterTime;
|
private Integer totalTime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date t1;
|
|
private String delFlag;
|
|
private String supplySeq;
|
|
private Integer carCount;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date oilApply;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date oilReady;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date ammoTest;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date ammoStart;
|
|
private Double food;
|
|
private Double foodW;
|
|
private Double foodO;
|
|
private Long workGrpId;
|
|
private String workGrpName;
|
|
private Long deptId;
|
|
private Long workMatGrpId;
|
|
private String workMatGrpName;
|
|
public Long getPKID() {
|
return PKID;
|
}
|
|
public void setPKID(Long PKID) {
|
this.PKID = PKID;
|
}
|
|
public Long getTaskId() {
|
return taskId;
|
}
|
|
public void setTaskId(Long taskId) {
|
this.taskId = taskId;
|
}
|
|
public Long getHarborId() {
|
return harborId;
|
}
|
|
public void setHarborId(Long harborId) {
|
this.harborId = harborId;
|
}
|
|
public String getHarborName() {
|
return harborName;
|
}
|
|
public void setHarborName(String harborName) {
|
this.harborName = harborName;
|
}
|
|
public Long getBerthId() {
|
return berthId;
|
}
|
|
public void setBerthId(Long berthId) {
|
this.berthId = berthId;
|
}
|
|
public String getBerthName() {
|
return berthName;
|
}
|
|
public void setBerthName(String berthName) {
|
this.berthName = berthName;
|
}
|
|
public String getParkingType() {
|
return parkingType;
|
}
|
|
public void setParkingType(String parkingType) {
|
this.parkingType = parkingType;
|
}
|
|
public String getShipNo() {
|
return shipNo;
|
}
|
|
public void setShipNo(String shipNo) {
|
this.shipNo = shipNo;
|
}
|
|
public String getShipType() {
|
return shipType;
|
}
|
|
public void setShipType(String shipType) {
|
this.shipType = shipType;
|
}
|
|
public Date getSTIME() {
|
return STIME;
|
}
|
|
public void setSTIME(Date STIME) {
|
this.STIME = STIME;
|
}
|
|
public Date getElecStime() {
|
return elecStime;
|
}
|
|
public void setElecStime(Date elecStime) {
|
this.elecStime = elecStime;
|
}
|
|
public Date getElecEtime() {
|
return elecEtime;
|
}
|
|
public void setElecEtime(Date elecEtime) {
|
this.elecEtime = elecEtime;
|
}
|
|
public Date getWaterStime() {
|
return waterStime;
|
}
|
|
public void setWaterStime(Date waterStime) {
|
this.waterStime = waterStime;
|
}
|
|
public Date getWaterEtime() {
|
return waterEtime;
|
}
|
|
public void setWaterEtime(Date waterEtime) {
|
this.waterEtime = waterEtime;
|
}
|
|
public Date getOilStime() {
|
return oilStime;
|
}
|
|
public void setOilStime(Date oilStime) {
|
this.oilStime = oilStime;
|
}
|
|
public Date getOilEtime() {
|
return oilEtime;
|
}
|
|
public void setOilEtime(Date oilEtime) {
|
this.oilEtime = oilEtime;
|
}
|
|
public Date getAmmoStime() {
|
return ammoStime;
|
}
|
|
public void setAmmoStime(Date ammoStime) {
|
this.ammoStime = ammoStime;
|
}
|
|
public Date getAmmoEtime() {
|
return ammoEtime;
|
}
|
|
public void setAmmoEtime(Date ammoEtime) {
|
this.ammoEtime = ammoEtime;
|
}
|
|
public Date getMatStime() {
|
return matStime;
|
}
|
|
public void setMatStime(Date matStime) {
|
this.matStime = matStime;
|
}
|
|
public Date getMatEtime() {
|
return matEtime;
|
}
|
|
public void setMatEtime(Date matEtime) {
|
this.matEtime = matEtime;
|
}
|
|
public Date getETIME() {
|
return ETIME;
|
}
|
|
public void setETIME(Date ETIME) {
|
this.ETIME = ETIME;
|
}
|
|
public Integer getOilTime() {
|
return oilTime;
|
}
|
|
public void setOilTime(Integer oilTime) {
|
this.oilTime = oilTime;
|
}
|
|
public Integer getAmmoTime() {
|
return ammoTime;
|
}
|
|
public void setAmmoTime(Integer ammoTime) {
|
this.ammoTime = ammoTime;
|
}
|
|
public Integer getMatTime() {
|
return matTime;
|
}
|
|
public void setMatTime(Integer matTime) {
|
this.matTime = matTime;
|
}
|
|
public Integer getWaterTime() {
|
return waterTime;
|
}
|
|
public void setWaterTime(Integer waterTime) {
|
this.waterTime = waterTime;
|
}
|
|
public Integer getTotalTime() {
|
return totalTime;
|
}
|
|
public void setTotalTime(Integer totalTime) {
|
this.totalTime = totalTime;
|
}
|
|
public Date getT1() {
|
return t1;
|
}
|
|
public void setT1(Date t1) {
|
this.t1 = t1;
|
}
|
|
public String getDelFlag() {
|
return delFlag;
|
}
|
|
public void setDelFlag(String delFlag) {
|
this.delFlag = delFlag;
|
}
|
|
public String getSupplySeq() {
|
return supplySeq;
|
}
|
|
public void setSupplySeq(String supplySeq) {
|
this.supplySeq = supplySeq;
|
}
|
|
public Integer getCarCount() {
|
return carCount;
|
}
|
|
public void setCarCount(Integer carCount) {
|
this.carCount = carCount;
|
}
|
|
public Date getOilApply() {
|
return oilApply;
|
}
|
|
public void setOilApply(Date oilApply) {
|
this.oilApply = oilApply;
|
}
|
|
public Date getOilReady() {
|
return oilReady;
|
}
|
|
public void setOilReady(Date oilReady) {
|
this.oilReady = oilReady;
|
}
|
|
public Date getAmmoTest() {
|
return ammoTest;
|
}
|
|
public void setAmmoTest(Date ammoTest) {
|
this.ammoTest = ammoTest;
|
}
|
|
public Date getAmmoStart() {
|
return ammoStart;
|
}
|
|
public void setAmmoStart(Date ammoStart) {
|
this.ammoStart = ammoStart;
|
}
|
|
public Double getFood() {
|
return food;
|
}
|
|
public void setFood(Double food) {
|
this.food = food;
|
}
|
|
public Double getFoodW() {
|
return foodW;
|
}
|
|
public void setFoodW(Double foodW) {
|
this.foodW = foodW;
|
}
|
|
public Double getFoodO() {
|
return foodO;
|
}
|
|
public void setFoodO(Double foodO) {
|
this.foodO = foodO;
|
}
|
|
public Long getWorkGrpId() {
|
return workGrpId;
|
}
|
|
public void setWorkGrpId(Long workGrpId) {
|
this.workGrpId = workGrpId;
|
}
|
|
public String getWorkGrpName() {
|
return workGrpName;
|
}
|
|
public void setWorkGrpName(String workGrpName) {
|
this.workGrpName = workGrpName;
|
}
|
|
public Long getDeptId() {
|
return deptId;
|
}
|
|
public void setDeptId(Long deptId) {
|
this.deptId = deptId;
|
}
|
|
public Long getWorkMatGrpId() {
|
return workMatGrpId;
|
}
|
|
public void setWorkMatGrpId(Long workMatGrpId) {
|
this.workMatGrpId = workMatGrpId;
|
}
|
|
public String getWorkMatGrpName() {
|
return workMatGrpName;
|
}
|
|
public void setWorkMatGrpName(String workMatGrpName) {
|
this.workMatGrpName = workMatGrpName;
|
}
|
|
public DsTaskDetailVO(Long PKID, Long taskId) {
|
this.PKID = PKID;
|
this.taskId = taskId;
|
}
|
|
public DsTaskDetailVO(DsTaskDetail detail) {
|
this.PKID = detail.getPKID();
|
this.taskId = detail.getTaskId();
|
this.harborId = detail.getHarborId();
|
this.harborName = detail.getHarborName();
|
this.berthId = detail.getBerthId();
|
this.berthName = detail.getBerthName();
|
this.parkingType = detail.getParkingType();
|
this.shipNo = detail.getShipNo();
|
this.shipType = detail.getShipType();
|
this.STIME = detail.getSTIME();
|
|
if (detail.getElecStime() != null) {
|
this.elecStime = new Date(detail.getT1().getTime() + detail.getElecStime() * 3600000);
|
}
|
if (detail.getElecEtime() != null) {
|
this.elecEtime = new Date(detail.getT1().getTime() + detail.getElecEtime() * 3600000);
|
}
|
if (detail.getWaterStime() != null) {
|
this.waterStime = new Date(detail.getT1().getTime() + detail.getWaterStime() * 3600000);
|
}
|
if (detail.getWaterEtime() != null) {
|
this.waterEtime = new Date(detail.getT1().getTime() + detail.getWaterEtime() * 3600000);
|
}
|
if (detail.getOilStime() != null) {
|
this.oilStime = new Date(detail.getT1().getTime() + detail.getOilStime() * 3600000);
|
}
|
if (detail.getOilEtime() != null) {
|
this.oilEtime = new Date(detail.getT1().getTime() + detail.getOilEtime() * 3600000);
|
}
|
if (detail.getAmmoStime() != null) {
|
this.ammoStime = new Date(detail.getT1().getTime() + detail.getAmmoStime() * 3600000);
|
}
|
if (detail.getAmmoEtime() != null) {
|
this.ammoEtime = new Date(detail.getT1().getTime() + detail.getAmmoEtime() * 3600000);
|
}
|
if (detail.getMatStime() != null) {
|
this.matStime = new Date(detail.getT1().getTime() + detail.getMatStime() * 3600000);
|
}
|
if (detail.getMatEtime() != null) {
|
this.matEtime = new Date(detail.getT1().getTime() + detail.getMatEtime() * 3600000);
|
}
|
this.ETIME = detail.getETIME();
|
this.oilTime = detail.getOilTime();
|
this.ammoTime = detail.getAmmoTime();
|
this.matTime = detail.getMatTime();
|
this.waterTime = detail.getWaterTime();
|
this.totalTime = detail.getTotalTime();
|
this.t1 = detail.getT1();
|
this.delFlag = detail.getDelFlag();
|
this.supplySeq = detail.getSupplySeq();
|
this.carCount = detail.getCarCount();
|
}
|
}
|