package com.ruoyi.buss.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 任务列表信息对象 ds_task_list * * @author lx * @date 2025-03-14 */ public class DsTaskList2 extends BaseEntity { private static final long serialVersionUID = 1L; /** */ @Excel(name = "") private Long PKID; /** */ @Excel(name = "") private Long taskId; /** */ @Excel(name = "") private String shipNo; /** */ @Excel(name = "") private String shipType; /** */ @Excel(name = "") private Double TONNAGE; /** */ @Excel(name = "") private Double draft; /** */ @Excel(name = "") private String LEADER; /** */ @Excel(name = "") private Long STAFF; /** */ @Excel(name = "") private String grpName; /** */ @Excel(name = "") private Long LEVEL; /** */ @Excel(name = "") private Double LAT; /** */ @Excel(name = "") private Double LON; /** */ @Excel(name = "") private String delFlag; /** */ @Excel(name = "") private Double oilB; /** */ @Excel(name = "") private Double oilG; /** */ @Excel(name = "") private Double oilA; /** */ @Excel(name = "") private Long ammoD; /** */ @Excel(name = "") private Long ammoP; /** */ @Excel(name = "") private Long ammoS; /** */ @Excel(name = "") private Long ammoO; /** */ @Excel(name = "") private Double WATER; /** */ @Excel(name = "") private Double waterP; /** */ @Excel(name = "") private Long FOOD; /** */ @Excel(name = "") private Long foodW; /** */ @Excel(name = "") private Long foodO; /** */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd") private Date pSTime; /** */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd") private Date pETime; /** */ @Excel(name = "") private String status; /** */ @Excel(name = "") private Long harborId; /** */ @Excel(name = "") private String harborName; /** */ @Excel(name = "") private Long berthId; /** */ @Excel(name = "") private String berthName; /** */ @Excel(name = "") private String parkingType; private String deptName; private Long deptId; private String posArea; private Double width; private String supplySeq; private Double dockTime; private Double shipLen; private int dockIndex; private Date tTime; private String path; public int getDockIndex() { return dockIndex; } public void setDockIndex(int dockIndex) { this.dockIndex = dockIndex; } public Date gettTime() { return tTime; } public void settTime(Date tTime) { this.tTime = tTime; } public boolean needRefueling() { return oilB > 0 || oilG > 0 || oilA > 0; } public Double getShipLen() { return shipLen; } public void setShipLen(Double shipLen) { this.shipLen = shipLen; } public Double getDockTime() { return dockTime; } public void setDockTime(Double dockTime) { this.dockTime = dockTime; } public void setTaskId(Long taskId) { this.taskId = taskId; } public Long getTaskId() { return taskId; } public void setShipNo(String shipNo) { this.shipNo = shipNo; } public String getShipNo() { return shipNo; } public void setShipType(String shipType) { this.shipType = shipType; } public String getShipType() { return shipType; } public void setTONNAGE(Double TONNAGE) { this.TONNAGE = TONNAGE; } public Double getTONNAGE() { return TONNAGE; } public void setLEADER(String LEADER) { this.LEADER = LEADER; } public String getLEADER() { return LEADER; } public void setSTAFF(Long STAFF) { this.STAFF = STAFF; } public Long getSTAFF() { return STAFF; } public void setGrpName(String grpName) { this.grpName = grpName; } public String getGrpName() { return grpName; } public void setLEVEL(Long LEVEL) { this.LEVEL = LEVEL; } public Long getLEVEL() { return LEVEL; } public void setLAT(Double LAT) { this.LAT = LAT; } public Double getLAT() { return LAT; } public void setLON(Double LON) { this.LON = LON; } public Double getLON() { return LON; } public void setDelFlag(String delFlag) { this.delFlag = delFlag; } public String getDelFlag() { return delFlag; } public void setOilB(Double oilB) { this.oilB = oilB; } public Double getOilB() { return oilB; } public void setOilG(Double oilG) { this.oilG = oilG; } public Double getOilG() { return oilG; } public void setOilA(Double oilA) { this.oilA = oilA; } public Double getOilA() { return oilA; } public void setAmmoD(Long ammoD) { this.ammoD = ammoD; } public Long getAmmoD() { return ammoD; } public void setAmmoP(Long ammoP) { this.ammoP = ammoP; } public Long getAmmoP() { return ammoP; } public void setAmmoS(Long ammoS) { this.ammoS = ammoS; } public Long getAmmoS() { return ammoS; } public void setAmmoO(Long ammoO) { this.ammoO = ammoO; } public Long getAmmoO() { return ammoO; } public void setWATER(Double WATER) { this.WATER = WATER; } public Double getWATER() { return WATER; } public void setWaterP(Double waterP) { this.waterP = waterP; } public Double getWaterP() { return waterP; } public void setFOOD(Long FOOD) { this.FOOD = FOOD; } public Long getFOOD() { return FOOD; } public void setFoodW(Long foodW) { this.foodW = foodW; } public Long getFoodW() { return foodW; } public void setFoodO(Long foodO) { this.foodO = foodO; } public Long getFoodO() { return foodO; } public void setpSTime(Date pSTime) { this.pSTime = pSTime; } public Date getpSTime() { return pSTime; } public void setpETime(Date pETime) { this.pETime = pETime; } public Date getpETime() { return pETime; } public void setHarborId(Long harborId) { this.harborId = harborId; } public Long getHarborId() { return harborId; } public void setHarborName(String harborName) { this.harborName = harborName; } public String getHarborName() { return harborName; } public void setBerthId(Long berthId) { this.berthId = berthId; } public Long getBerthId() { return berthId; } public void setBerthName(String berthName) { this.berthName = berthName; } public String getBerthName() { return berthName; } public void setParkingType(String parkingType) { this.parkingType = parkingType; } public String getParkingType() { return parkingType; } public void setPKID(Long PKID) { this.PKID = PKID; } public Long getPKID() { return PKID; } public String getDeptName() { return deptName; } public void setDeptName(String deptName) { this.deptName = deptName; } public Long getDeptId() { return deptId; } public void setDeptId(Long deptId) { this.deptId = deptId; } public String getPosArea() { return posArea; } public void setPosArea(String posArea) { this.posArea = posArea; } public Double getWidth() { return width; } public void setWidth(Double width) { this.width = width; } public String getSupplySeq() { return supplySeq; } public void setSupplySeq(String supplySeq) { this.supplySeq = supplySeq; } public Double getDraft() { return draft; } public void setDraft(Double draft) { this.draft = draft; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } @Override public String toString() { return "DsTaskList2 =: {" + "PKID=" + PKID + ", taskId=" + taskId + ", shipNo='" + shipNo + '\'' + ", shipType='" + shipType + '\'' + ", TONNAGE=" + TONNAGE + ", DRAFT=" + draft + ", LEADER='" + LEADER + '\'' + ", STAFF=" + STAFF + ", grpName='" + grpName + '\'' + ", LEVEL=" + LEVEL + ", LAT=" + LAT + ", LON=" + LON + ", delFlag='" + delFlag + '\'' + ", oilB=" + oilB + ", oilG=" + oilG + ", oilA=" + oilA + ", ammoD=" + ammoD + ", ammoP=" + ammoP + ", ammoS=" + ammoS + ", ammoO=" + ammoO + ", WATER=" + WATER + ", waterP=" + waterP + ", FOOD=" + FOOD + ", foodW=" + foodW + ", foodO=" + foodO + ", pSTime=" + pSTime + ", pETime=" + pETime + ", STATUS='" + status + '\'' + ", harborId=" + harborId + ", harborName='" + harborName + '\'' + ", berthId=" + berthId + ", berthName='" + berthName + '\'' + ", parkingType='" + parkingType + '\'' + ", deptName='" + deptName + '\'' + ", deptId=" + deptId + ", posArea='" + posArea + '\'' + ", width=" + width + ", supplySeq='" + supplySeq + '\'' + ", dockTime=" + dockTime + ", shipLen=" + shipLen + ", dockIndex=" + dockIndex + ", tTime=" + tTime + '}'; } }