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_contract
|
*
|
* @author ruoyi
|
* @date 2025-11-04
|
*/
|
@Data
|
public class TmsContract {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 系统编号
|
*/
|
@Excel(name = "系统编号")
|
@TableField("system_code")
|
private String systemCode;
|
|
|
/**
|
* 合同编号
|
*/
|
@Excel(name = "合同编号")
|
@TableField("contract_code")
|
private String contractCode;
|
|
|
/**
|
* 合同简称
|
*/
|
@Excel(name = "合同简称")
|
@TableField("contract_name")
|
private String contractName;
|
|
|
/**
|
* 合同类型
|
*/
|
@Excel(name = "合同类型")
|
@TableField("contract_type")
|
private Integer contractType;
|
|
|
/**
|
* 签约日期
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "签约日期", width = 30, dateFormat = "yyyy-MM-dd")
|
@TableField("sign_date")
|
private Date signDate;
|
|
|
/**
|
* 合同期限开始时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "合同期限开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@TableField("contract_start_date")
|
private Date contractStartDate;
|
|
|
/**
|
* 合同期限结束时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "合同期限结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@TableField("contract_end_date")
|
private Date contractEndDate;
|
|
|
/**
|
* 合同状态
|
*/
|
@Excel(name = "合同状态")
|
@TableField("contract_status")
|
private Integer contractStatus;
|
|
|
/**
|
* 甲方名称
|
*/
|
@Excel(name = "甲方名称")
|
@TableField("party_a_name")
|
private String partyAName;
|
|
|
/**
|
* 甲方联系人
|
*/
|
@TableField("party_a_contact")
|
private String partyAContact;
|
|
|
/**
|
* 甲方联系方式
|
*/
|
@TableField("party_a_contact_info")
|
private String partyAContactInfo;
|
|
|
/**
|
* 乙方名称
|
*/
|
@Excel(name = "乙方名称")
|
@TableField("party_b_name")
|
private String partyBName;
|
|
|
/**
|
* 乙方联系人
|
*/
|
@TableField("party_b_contact")
|
private String partyBContact;
|
|
|
/**
|
* 乙方联系方式
|
*/
|
@TableField("party_b_contact_info")
|
private String partyBContactInfo;
|
|
|
/**
|
* 合同金额
|
*/
|
@Excel(name = "合同金额")
|
@TableField("contract_amount")
|
private BigDecimal contractAmount;
|
|
|
/**
|
* 付款方式
|
*/
|
@Excel(name = "付款方式")
|
@TableField("payment_method")
|
private Integer paymentMethod;
|
|
|
/**
|
* 付款周期
|
*/
|
@TableField("payment_cycle")
|
private String paymentCycle;
|
|
|
/**
|
* 已付款项
|
*/
|
@TableField("paid_amount")
|
private BigDecimal paidAmount;
|
|
|
/**
|
* 未付款项
|
*/
|
@TableField("unpaid_amount")
|
private BigDecimal unpaidAmount;
|
|
|
/**
|
* 发票状态
|
*/
|
@Excel(name = "发票状态")
|
@TableField("invoice_status")
|
private Integer invoiceStatus;
|
|
|
/**
|
* 履行状态
|
*/
|
@Excel(name = "履行状态")
|
@TableField("fulfillment_status")
|
private Integer fulfillmentStatus;
|
|
|
/**
|
* 履行进度
|
*/
|
@TableField("fulfillment_progress")
|
private String fulfillmentProgress;
|
|
|
/**
|
* 验收状态
|
*/
|
@Excel(name = "验收状态")
|
@TableField("acceptance_status")
|
private Integer acceptanceStatus;
|
|
|
/**
|
* 附件名称
|
*/
|
@TableField("attachment_name")
|
private String attachmentName;
|
|
|
/**
|
* 附件路径
|
*/
|
@TableField("attachment_path")
|
private String attachmentPath;
|
|
|
/**
|
* 上传人
|
*/
|
@TableField("uploaded_by")
|
private String uploadedBy;
|
|
|
/**
|
* 上传时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("upload_time")
|
private Date uploadTime;
|
|
|
/**
|
* 合同数据状态(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;
|
|
|
}
|