| | |
| | | package com.ruoyi.system.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | 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; |
| | | |
| | | /** |
| | | * 车辆里程统计对象 vehicle_mileage_stats |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-01-15 |
| | | */ |
| | | public class VehicleMileageStats extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 统计ID */ |
| | | private Long statsId; |
| | | |
| | | /** 车辆ID */ |
| | | @Excel(name = "车辆ID") |
| | | private Long vehicleId; |
| | | |
| | | /** 统计日期 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date statsDate; |
| | | |
| | | /** 总里程(公里) */ |
| | | @Excel(name = "总里程(公里)") |
| | | private BigDecimal totalMileage; |
| | | |
| | | /** 任务里程(公里) */ |
| | | @Excel(name = "任务里程(公里)") |
| | | private BigDecimal taskMileage; |
| | | |
| | | /** 非任务里程(公里) */ |
| | | @Excel(name = "非任务里程(公里)") |
| | | private BigDecimal nonTaskMileage; |
| | | |
| | | /** 任务里程占比(%) */ |
| | | @Excel(name = "任务里程占比(%)") |
| | | private BigDecimal taskMileageRatio; |
| | | |
| | | /** GPS点数 */ |
| | | @Excel(name = "GPS点数") |
| | | private Integer gpsCount; |
| | | |
| | | public void setStatsId(Long statsId) |
| | | { |
| | | this.statsId = statsId; |
| | | } |
| | | |
| | | public Long getStatsId() |
| | | { |
| | | return statsId; |
| | | } |
| | | public void setVehicleId(Long vehicleId) |
| | | { |
| | | this.vehicleId = vehicleId; |
| | | } |
| | | |
| | | public Long getVehicleId() |
| | | { |
| | | return vehicleId; |
| | | } |
| | | public void setStatsDate(Date statsDate) |
| | | { |
| | | this.statsDate = statsDate; |
| | | } |
| | | |
| | | public Date getStatsDate() |
| | | { |
| | | return statsDate; |
| | | } |
| | | public void setTotalMileage(BigDecimal totalMileage) |
| | | { |
| | | this.totalMileage = totalMileage; |
| | | } |
| | | |
| | | public BigDecimal getTotalMileage() |
| | | { |
| | | return totalMileage; |
| | | } |
| | | public void setTaskMileage(BigDecimal taskMileage) |
| | | { |
| | | this.taskMileage = taskMileage; |
| | | } |
| | | |
| | | public BigDecimal getTaskMileage() |
| | | { |
| | | return taskMileage; |
| | | } |
| | | public void setNonTaskMileage(BigDecimal nonTaskMileage) |
| | | { |
| | | this.nonTaskMileage = nonTaskMileage; |
| | | } |
| | | |
| | | public BigDecimal getNonTaskMileage() |
| | | { |
| | | return nonTaskMileage; |
| | | } |
| | | public void setTaskMileageRatio(BigDecimal taskMileageRatio) |
| | | { |
| | | this.taskMileageRatio = taskMileageRatio; |
| | | } |
| | | |
| | | public BigDecimal getTaskMileageRatio() |
| | | { |
| | | return taskMileageRatio; |
| | | } |
| | | public void setGpsCount(Integer gpsCount) |
| | | { |
| | | this.gpsCount = gpsCount; |
| | | } |
| | | |
| | | public Integer getGpsCount() |
| | | { |
| | | return gpsCount; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("statsId", getStatsId()) |
| | | .append("vehicleId", getVehicleId()) |
| | | .append("statsDate", getStatsDate()) |
| | | .append("totalMileage", getTotalMileage()) |
| | | .append("taskMileage", getTaskMileage()) |
| | | .append("nonTaskMileage", getNonTaskMileage()) |
| | | .append("taskMileageRatio", getTaskMileageRatio()) |
| | | .append("gpsCount", getGpsCount()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .toString(); |
| | | } |
| | | } |