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 java.util.List; import lombok.Data; /** * 应收费用对象 tms_receivable_fee * * @author ruoyi * @date 2025-12-12 */ @Data public class TmsReceivableFee { /** * 主键ID */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 系统编号 */ @Excel(name = "系统编号") @TableField("system_no") private String systemNo; /** * 关联账单编号 */ @Excel(name = "关联账单编号") @TableField("bill_relation_id") private Integer billRelationId; /** * 关联账单编号 */ @Excel(name = "关联账单编号") @TableField("bill_relation_no") private String billRelationNo; /** * 调度单ID */ @Excel(name = "调度单ID") @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_name") private String customerName; /** * 项目ID */ @Excel(name = "项目ID") @TableField("project_id") private Integer projectId; /** * 项目名称 */ @Excel(name = "项目名称") @TableField("project_name") private String projectName; /** * 应收金额 */ @Excel(name = "应收金额") @TableField("receivable_rmb_amount") private BigDecimal receivableRMBAmount; @TableField("receivable_hkb_amount") private BigDecimal receivableHKBAmount; @TableField(exist = false) private BigDecimal receivableRmbSumAmount; /** * 调度单确定时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "调度单确定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @TableField("dispatch_confirm_time") private Date dispatchConfirmTime; /** * 费用生成时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "费用生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @TableField("cost_generate_time") private Date costGenerateTime; /** * 状态(0-待确认 1-已生成 2-已入账 3-作废) */ @Excel(name = "状态", readConverterExp = "0=-待确认,1=-已生成,2=-已入账,3=-作废") @TableField("status") private Integer status; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("create_time") private Date createTime; /** * 创建人 */ @TableField("create_by") private String createBy; /** * 更新人 */ @TableField("update_by") private String updateBy; /** * 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("update_time") private Date updateTime; @TableField(exist = false) private List items; }