package org.jeecg.modules.demo.contract.entity;
|
|
import java.io.Serializable;
|
import java.io.UnsupportedEncodingException;
|
import java.util.Date;
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import org.jeecg.common.constant.ProvinceCityArea;
|
import org.jeecg.common.util.SpringContextUtils;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.jeecg.modules.demo.customer.entity.Customer;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecg.common.aspect.annotation.Dict;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
/**
|
* @Description: 合同
|
* @Author: jeecg-boot
|
* @Date: 2025-10-11
|
* @Version: V1.0
|
*/
|
@Schema(description="合同")
|
@Data
|
@TableName("contract")
|
public class Contract implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**主键*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@Schema(description = "主键")
|
private java.lang.String id;
|
/**创建日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@Schema(description = "创建日期")
|
private java.util.Date createTime;
|
/**更新人*/
|
@Schema(description = "更新人")
|
private java.lang.String updateBy;
|
/**更新日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@Schema(description = "更新日期")
|
private java.util.Date updateTime;
|
/**所属部门*/
|
@Schema(description = "所属部门")
|
private java.lang.String sysOrgCode;
|
|
/**客户名称*/
|
@Excel(name = "客户名称", width = 15)
|
@Schema(description = "客户名称")
|
private java.lang.String customerName;
|
/**合同名称*/
|
@Excel(name = "合同名称", width = 15)
|
@Schema(description = "合同名称")
|
private java.lang.String contractName;
|
/**起始日期*/
|
@Excel(name = "起始日期", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@Schema(description = "起始日期")
|
private java.util.Date startDate;
|
/**结束日期*/
|
@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@Schema(description = "结束日期")
|
private java.util.Date endDate;
|
/**审核状态*/
|
@Excel(name = "审核状态", width = 15, dicCode = "yuyici_status")
|
@Dict(dicCode = "yuyici_status")
|
@Schema(description = "审核状态")
|
private java.lang.String reviewStatus;
|
|
@Excel(name = "审核人", width = 15)
|
@Schema(description = "审核人")
|
private String changer;
|
|
/**分配时间*/
|
@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@Schema(description = "审核时间")
|
private java.util.Date changerTime;
|
|
/**驳回原因*/
|
@Excel(name = "驳回原因", width = 15)
|
@Schema(description = "驳回原因")
|
private java.lang.String rejectionReasons;
|
/**创建人*/
|
@Schema(description = "创建人")
|
private java.lang.String createBy;
|
/**客户名称*/
|
@Excel(name = "代理商名称", width = 15)
|
@Schema(description = "代理商名称")
|
private java.lang.String agentsName;;
|
|
@TableField(exist = false)
|
private String semanticWordList;
|
|
@TableField(exist = false)
|
private List<ContractFile> contractFileList;
|
|
@TableField(exist = false)
|
private Customer customer;
|
/**代理商id*/
|
@Excel(name = "代理商编号", width = 15)
|
@Schema(description = "代理商编号")
|
private String agentsId;
|
}
|