package com.ruoyi.tms.domain; import com.fasterxml.jackson.annotation.JsonFormat; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.util.Date; import lombok.Data; /** * 调度单管理对象 tms_dispatch_order * * @author ruoyi * @date 2025-11-04 */ @Data public class TmsDispatchOrder { /** * 主键ID */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 调度单号 */ @Excel(name = "调度单号") @TableField("dispatch_no") private String dispatchNo; /** * 客户名称 */ @Excel(name = "客户名称") @TableField("customer_name") private String customerName; /** * 客户编码 */ @TableField("customer_code") private String customerCode; /** * 项目名称 */ @Excel(name = "项目名称") @TableField("project_name") private String projectName; /** * 运输计划编号 */ @Excel(name = "运输计划编号") @TableField("transport_plan_no") private String transportPlanNo; /** * 出发地行政区域 */ @Excel(name = "出发地行政区域") @TableField("departure_region") private String departureRegion; /** * 目的行政区域 */ @Excel(name = "目的行政区域") @TableField("destination_region") private String destinationRegion; /** * 运输线路 */ @Excel(name = "运输线路") @TableField("transport_line") private Integer transportLine; /** * 车辆服务商 */ @Excel(name = "车辆服务商") @TableField("vehicle_provider") private Integer vehicleProvider; /** * 主驾驶员 */ @Excel(name = "主驾驶员") @TableField("main_driver") private Integer mainDriver; /** * 副驾驶员 */ @TableField("assistant_driver") private String assistantDriver; /** * 要求运输工具类型 */ @Excel(name = "要求运输工具类型") @TableField("required_vehicle_type") private Integer requiredVehicleType; /** * 运输工具号码 */ @Excel(name = "运输工具号码") @TableField("vehicle_number") private String vehicleNumber; /** * 运输方式 */ @TableField("transport_mode") private Integer transportMode; /** * 配载方式 */ @TableField("load_mode") private Integer loadMode; /** * 货品名称 */ @TableField("goods_name") private String goodsName; /** * 数量 */ @TableField("quantity") private BigDecimal quantity; /** * 货品类型 */ @TableField("goods_type") private String goodsType; /** * 重量(kg) */ @TableField("weight") private BigDecimal weight; /** * 净重(kg) */ @TableField("net_weight") private BigDecimal netWeight; /** * 体积(m³) */ @TableField("volume") private BigDecimal volume; /** * 散件数 */ @TableField("loose_pieces") private Integer loosePieces; /** * 整箱数 */ @TableField("full_containers") private Integer fullContainers; /** * 集装箱号 */ @TableField("container_no") private String containerNo; /** * 托数 */ @TableField("pallet_count") private Integer palletCount; /** * 要求最早出发时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("earliest_departure") private Date earliestDeparture; /** * 要求最晚出发时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("latest_departure") private Date latestDeparture; /** * 要求最早到达时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("earliest_arrival") private Date earliestArrival; /** * 要求最晚到达时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("latest_arrival") private Date latestArrival; /** * 出发地地址 */ @TableField("departure_address") private String departureAddress; /** * 目的地地址 */ @TableField("destination_address") private String destinationAddress; /** * 实际运输工具类型 */ @TableField("actual_vehicle_type") private String actualVehicleType; /** * 实际装车开始时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("actual_load_start") private Date actualLoadStart; /** * 实际卸车完成时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("actual_unload_end") private Date actualUnloadEnd; /** * 实际出发时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("actual_departure") private Date actualDeparture; /** * 实际到达时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("actual_arrival") private Date actualArrival; /** * 实发数量 */ @TableField("actual_quantity") private BigDecimal actualQuantity; /** * 实发重量(kg) */ @TableField("actual_weight") private BigDecimal actualWeight; /** * 实发体积(m³) */ @TableField("actual_volume") private BigDecimal actualVolume; /** * 复磅重量(kg) */ @TableField("reweigh_weight") private BigDecimal reweighWeight; /** * 电子锁编号 */ @TableField("electronic_lock") private String electronicLock; /** * 集装箱号 */ @TableField("container_info") private String containerInfo; /** * 车板号 */ @TableField("car_plate") private String carPlate; /** * 空载里程(Km) */ @TableField("empty_mileage") private BigDecimal emptyMileage; /** * 空载油耗(L) */ @TableField("empty_fuel") private BigDecimal emptyFuel; /** * 重载里程(Km) */ @TableField("loaded_mileage") private BigDecimal loadedMileage; /** * 重载油耗(L) */ @TableField("loaded_fuel") private BigDecimal loadedFuel; /** * 班次号 */ @TableField("shift_no") private String shiftNo; /** * 线路号 */ @TableField("line_no") private String lineNo; /** * 状态 */ @Excel(name = "状态") @TableField("status") private Integer status; /** * 创建人 */ @TableField("create_by") private String createBy; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("create_time") private Date createTime; /** * 更新人 */ @Excel(name = "更新人") @TableField("update_by") private String updateBy; /** * 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @TableField("update_time") private Date updateTime; /** * 备注 */ @TableField("remark") private String remark; }