package com.ruoyi.tms.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.math.BigDecimal;
|
|
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_route
|
*
|
* @author ruoyi
|
* @date 2025-11-04
|
*/
|
@Data
|
public class TmsRoute {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 系统编号
|
*/
|
@Excel(name = "系统编号")
|
@TableField("system_code")
|
private String systemCode;
|
|
|
/**
|
* 路线编号
|
*/
|
@Excel(name = "路线编号")
|
@TableField("route_code")
|
private String routeCode;
|
|
|
/**
|
* 路线名称
|
*/
|
@Excel(name = "路线名称")
|
@TableField("route_name")
|
private String routeName;
|
|
|
/**
|
* 路线类型
|
*/
|
@Excel(name = "路线类型")
|
@TableField("route_type")
|
private Integer routeType;
|
|
|
/**
|
* 运输方式
|
*/
|
@Excel(name = "运输方式")
|
@TableField("transport_mode")
|
private Integer transportMode;
|
|
|
/**
|
* 起点区域(省/市/区)
|
*/
|
@Excel(name = "起点区域", readConverterExp = "省=/市/区")
|
@TableField("start_area")
|
private String startArea;
|
|
|
/**
|
* 起点仓库,关联仓库管理
|
*/
|
@Excel(name = "起点仓库,关联仓库管理")
|
@TableField("start_warehouse")
|
private String startWarehouse;
|
|
|
/**
|
* 终点区域(省/市/区)
|
*/
|
@Excel(name = "终点区域", readConverterExp = "省=/市/区")
|
@TableField("end_area")
|
private String endArea;
|
|
|
/**
|
* 终点仓库,关联仓库管理
|
*/
|
@Excel(name = "终点仓库,关联仓库管理")
|
@TableField("end_warehouse")
|
private String endWarehouse;
|
|
|
/**
|
* 途经站点,多站点用逗号分隔
|
*/
|
@Excel(name = "途经站点,多站点用逗号分隔")
|
@TableField("via_stations")
|
private String viaStations;
|
|
|
/**
|
* 路线里程(km)
|
*/
|
@Excel(name = "路线里程", readConverterExp = "k=m")
|
@TableField("distance_km")
|
private BigDecimal distanceKm;
|
|
|
/**
|
* 预计耗时(小时)
|
*/
|
@Excel(name = "预计耗时", readConverterExp = "小=时")
|
@TableField("estimated_hours")
|
private BigDecimal estimatedHours;
|
|
|
/**
|
* 所属线路组,便于批量维护
|
*/
|
@Excel(name = "所属线路组,便于批量维护")
|
@TableField("route_group")
|
private String routeGroup;
|
|
|
/**
|
* 适配车型
|
*/
|
@Excel(name = "适配车型")
|
@TableField("suitable_vehicle_type")
|
private Integer suitableVehicleType;
|
|
|
/**
|
* 托架类型
|
*/
|
@Excel(name = "托架类型")
|
@TableField("suitable_tray_type")
|
private Integer suitableTrayType;
|
|
|
/**
|
* 路线状态
|
*/
|
@Excel(name = "路线状态")
|
@TableField("route_status")
|
private Integer routeStatus;
|
|
|
/**
|
* 是否常用路线
|
*/
|
@Excel(name = "是否常用路线")
|
@TableField("is_common")
|
private Integer isCommon;
|
|
|
/**
|
* 状态(0=正常,1=停用)
|
*/
|
@Excel(name = "状态", readConverterExp = "0=0=正常,1=停用")
|
@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;
|
|
|
}
|