163 lines
3.8 KiB
Java
163 lines
3.8 KiB
Java
package com.jdc.jdcproject.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDateTime;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
/**
|
|
* <p>
|
|
* 存储单台电机车的生产任务完成情况;
|
|
* </p>
|
|
*
|
|
* @author haoyanlu
|
|
* @since 2025-06-14
|
|
*/
|
|
@TableName("DianJiche_single_locomotive_tasks")
|
|
@Schema(name = "DianjicheSingleLocomotiveTasks", description = "存储单台电机车的生产任务完成情况;")
|
|
public class DianjicheSingleLocomotiveTasks implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Schema(description = "主键")
|
|
@TableId("Task_id")
|
|
private Integer taskId;
|
|
|
|
@Schema(description = "外键, 关联电机车表")
|
|
private Integer locomotiveId;
|
|
|
|
@Schema(description = "外键, 关联班次表")
|
|
private Integer shiftId;
|
|
|
|
@Schema(description = "外键,关联站点表")
|
|
private String stationId;
|
|
|
|
@Schema(description = "车数")
|
|
private Integer vehicles;
|
|
|
|
@Schema(description = "吨数")
|
|
private Integer tons;
|
|
|
|
@Schema(description = "停车台时的类型(故障,停电,待命,其他)")
|
|
private Integer statusTypes;
|
|
|
|
@Schema(description = "作业台时")
|
|
private Integer worktime;
|
|
|
|
@Schema(description = "停车台时")
|
|
private String faulttime;
|
|
|
|
@Schema(description = "作业日期")
|
|
private LocalDateTime date;
|
|
|
|
@Schema(description = "停车时间百分比")
|
|
private BigDecimal faulttimeRate;
|
|
|
|
public Integer getTaskId() {
|
|
return taskId;
|
|
}
|
|
|
|
public void setTaskId(Integer taskId) {
|
|
this.taskId = taskId;
|
|
}
|
|
|
|
public Integer getLocomotiveId() {
|
|
return locomotiveId;
|
|
}
|
|
|
|
public void setLocomotiveId(Integer locomotiveId) {
|
|
this.locomotiveId = locomotiveId;
|
|
}
|
|
|
|
public Integer getShiftId() {
|
|
return shiftId;
|
|
}
|
|
|
|
public void setShiftId(Integer shiftId) {
|
|
this.shiftId = shiftId;
|
|
}
|
|
|
|
public String getStationId() {
|
|
return stationId;
|
|
}
|
|
|
|
public void setStationId(String stationId) {
|
|
this.stationId = stationId;
|
|
}
|
|
|
|
public Integer getVehicles() {
|
|
return vehicles;
|
|
}
|
|
|
|
public void setVehicles(Integer vehicles) {
|
|
this.vehicles = vehicles;
|
|
}
|
|
|
|
public Integer getTons() {
|
|
return tons;
|
|
}
|
|
|
|
public void setTons(Integer tons) {
|
|
this.tons = tons;
|
|
}
|
|
|
|
public Integer getStatusTypes() {
|
|
return statusTypes;
|
|
}
|
|
|
|
public void setStatusTypes(Integer statusTypes) {
|
|
this.statusTypes = statusTypes;
|
|
}
|
|
|
|
public Integer getWorktime() {
|
|
return worktime;
|
|
}
|
|
|
|
public void setWorktime(Integer worktime) {
|
|
this.worktime = worktime;
|
|
}
|
|
|
|
public String getFaulttime() {
|
|
return faulttime;
|
|
}
|
|
|
|
public void setFaulttime(String faulttime) {
|
|
this.faulttime = faulttime;
|
|
}
|
|
|
|
public LocalDateTime getDate() {
|
|
return date;
|
|
}
|
|
|
|
public void setDate(LocalDateTime date) {
|
|
this.date = date;
|
|
}
|
|
|
|
public BigDecimal getFaulttimeRate() {
|
|
return faulttimeRate;
|
|
}
|
|
|
|
public void setFaulttimeRate(BigDecimal faulttimeRate) {
|
|
this.faulttimeRate = faulttimeRate;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "DianjicheSingleLocomotiveTasks{" +
|
|
"taskId = " + taskId +
|
|
", locomotiveId = " + locomotiveId +
|
|
", shiftId = " + shiftId +
|
|
", stationId = " + stationId +
|
|
", vehicles = " + vehicles +
|
|
", tons = " + tons +
|
|
", statusTypes = " + statusTypes +
|
|
", worktime = " + worktime +
|
|
", faulttime = " + faulttime +
|
|
", date = " + date +
|
|
", faulttimeRate = " + faulttimeRate +
|
|
"}";
|
|
}
|
|
}
|