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_finance
|
*
|
* @author ruoyi
|
* @date 2025-11-13
|
*/
|
@Data
|
public class TmsFinance {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 系统编号,新增时自动填写
|
*/
|
@Excel(name = "系统编号,新增时自动填写")
|
@TableField("system_code")
|
private String systemCode;
|
|
@TableField(exist = false)
|
private Integer collectionPlanDetailId;
|
@TableField(exist = false)
|
private BigDecimal collectionPlanAmount;
|
|
/**
|
* 应收(应付)方案名称
|
*/
|
@Excel(name = "应收", readConverterExp = "应=付")
|
@TableField("plan_name")
|
private String planName;
|
|
@TableField(exist = false)
|
private String collectionPlanName;
|
|
@TableField(exist = false)
|
private String paymentPlanName;
|
@TableField(exist = false)
|
private Integer paymentPlanDetailId;
|
|
@TableField(exist = false)
|
private BigDecimal paymentPlanAmount;
|
|
/**
|
* 调度单号
|
*/
|
@Excel(name = "调度单号")
|
@TableField("dispatch_id")
|
private Integer dispatchId;
|
|
|
/**
|
* 调度单号
|
*/
|
@Excel(name = "调度单号")
|
@TableField("dispatch_no")
|
private String dispatchNo;
|
|
|
/**
|
* 客户ID
|
*/
|
@Excel(name = "客户ID")
|
@TableField("customer_id")
|
private Integer customerId;
|
|
|
/**
|
* 客户编码
|
*/
|
@Excel(name = "客户编码")
|
@TableField("customer_code")
|
private String customerCode;
|
|
|
@TableField("customer_name")
|
private String customerName;
|
|
|
/**
|
* 关联项目ID
|
*/
|
@Excel(name = "关联项目ID")
|
@TableField("project_id")
|
private Integer projectId;
|
|
|
/**
|
* 关联项目名称
|
*/
|
@Excel(name = "关联项目名称")
|
@TableField("project_name")
|
private String projectName;
|
|
|
/**
|
* 车辆服务商ID
|
*/
|
@Excel(name = "车辆服务商ID")
|
@TableField("vehicle_provider_id")
|
private Integer vehicleProviderId;
|
|
|
/**
|
* 车辆服务商名称
|
*/
|
@Excel(name = "车辆服务商名称")
|
@TableField("vehicle_provider_name")
|
private String vehicleProviderName;
|
|
|
/**
|
* 要求车型,由调度单数据生成
|
*/
|
@Excel(name = "要求车型,由调度单数据生成")
|
@TableField("required_vehicle_types")
|
private String requiredVehicleTypes;
|
|
|
/**
|
* 实际车型
|
*/
|
@Excel(name = "实际车型")
|
@TableField("actual_vehicle_type")
|
private Integer actualVehicleType;
|
|
|
/**
|
* 关联驾驶员管理ID
|
*/
|
@Excel(name = "关联驾驶员管理ID")
|
@TableField("main_driver_id")
|
private Integer mainDriverId;
|
|
|
/**
|
* 主驾驶员,由调度单数据生成
|
*/
|
@Excel(name = "主驾驶员,由调度单数据生成")
|
@TableField("main_driver_name")
|
private String mainDriverName;
|
|
|
/** 副驾驶员 */
|
@TableField("assistant_driver_id")
|
private Integer assistantDriverId;
|
|
@TableField("assistant_driver_name")
|
private String assistantDriverName;
|
|
/**
|
* 车辆管理表ID
|
*/
|
@Excel(name = "车辆管理表ID")
|
@TableField("vehicle_id")
|
private Integer vehicleId;
|
|
|
/**
|
* 车牌号,由调度单数据生成
|
*/
|
@Excel(name = "车牌号,由调度单数据生成")
|
@TableField("license_plate")
|
private String licensePlate;
|
|
|
/**
|
* 总金额,由调度单数据生成
|
*/
|
@Excel(name = "总金额,由调度单数据生成")
|
@TableField("total_amount")
|
private BigDecimal totalAmount;
|
|
|
/**
|
* 运输线路,由调度单数据生成
|
*/
|
@Excel(name = "运输线路,由调度单数据生成")
|
@TableField("transport_line")
|
private String transportLine;
|
|
|
/**
|
* 发货人(关联收发货人信息)
|
*/
|
@Excel(name = "发货人", readConverterExp = "关=联收发货人信息")
|
@TableField("shipper_id")
|
private Integer shipperId;
|
|
|
/**
|
* 发货人名称
|
*/
|
@Excel(name = "发货人名称")
|
@TableField("shipper_name")
|
private String shipperName;
|
|
|
/**
|
* 发货人手机号
|
*/
|
@Excel(name = "发货人手机号")
|
@TableField("shipper_mobile")
|
private String shipperMobile;
|
|
|
/**
|
* 发货人地址
|
*/
|
@Excel(name = "发货人地址")
|
@TableField("shipper_address")
|
private String shipperAddress;
|
|
|
/**
|
* 发货行政区域
|
*/
|
@Excel(name = "发货行政区域")
|
@TableField("shipper_region_code")
|
private String shipperRegionCode;
|
|
|
/** 发货行政区域 */
|
@Excel(name = "发货行政区域")
|
@TableField("shipper_region_label")
|
private String shipperRegionLabel;
|
|
/**
|
* 收货人(关联收发货人信息)
|
*/
|
@Excel(name = "收货人", readConverterExp = "关=联收发货人信息")
|
@TableField("receiver_id")
|
private Integer receiverId;
|
|
|
/**
|
* 收货人名称
|
*/
|
@Excel(name = "收货人名称")
|
@TableField("receiver_name")
|
private String receiverName;
|
|
|
/**
|
* 收货人手机号
|
*/
|
@Excel(name = "收货人手机号")
|
@TableField("receiver_mobile")
|
private String receiverMobile;
|
|
|
/**
|
* 收货人地址
|
*/
|
@Excel(name = "收货人地址")
|
@TableField("receiver_address")
|
private String receiverAddress;
|
|
|
/**
|
* 收货行政区域
|
*/
|
@Excel(name = "收货行政区域")
|
@TableField("receiver_region_code")
|
private String receiverRegionCode;
|
/** 收货行政区域 */
|
@Excel(name = "收货行政区域")
|
@TableField("receiver_region_label")
|
private String receiverRegionLabel;
|
|
/**
|
* 状态,0=待确认,1=已确认,2=作废
|
*/
|
@Excel(name = "状态,0=待确认,1=已确认,2=作废")
|
@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;
|
|
|
/**
|
* 更新人,新增时自动填写,被修改时自动更新
|
*/
|
@TableField("update_by")
|
private String updateBy;
|
|
|
/**
|
* 更新时间,新增时自动填写,被修改时自动更新
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("update_time")
|
private Date updateTime;
|
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注")
|
@TableField("remark")
|
private String remark;
|
|
|
/**
|
* 记录状态,0=正常,1=作废
|
*/
|
@Excel(name = "记录状态,0=正常,1=作废")
|
@TableField("record_status")
|
private Integer recordStatus;
|
|
|
/**
|
*
|
*/
|
@Excel(name = "")
|
@TableField("plan_id")
|
private Integer planId;
|
|
|
/**
|
* 类型(0=应收,1=应付,2=其他)
|
*/
|
@Excel(name = "类型", readConverterExp = "0=0=应收,1=应付,2=其他")
|
@TableField("type")
|
private Integer type;
|
/** 费用确认人 */
|
@Excel(name = "费用确认人")
|
@TableField("confirm_by")
|
private String confirmBy;
|
|
/** 费用确认时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "费用确认时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@TableField("confirm_time")
|
private Date confirmTime;
|
}
|