package com.ruoyi.tms.domain;
|
|
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_project
|
*
|
* @author ruoyi
|
* @date 2025-11-04
|
*/
|
@Data
|
public class TmsProject {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 项目名称
|
*/
|
@Excel(name = "项目名称")
|
@TableField("project_name")
|
private String projectName;
|
|
|
/**
|
* 项目编号
|
*/
|
@Excel(name = "项目编号")
|
@TableField("project_code")
|
private String projectCode;
|
|
|
/**
|
* 关联合同
|
*/
|
@Excel(name = "关联合同")
|
@TableField("related_contract_id")
|
private Integer relatedContractId;
|
|
@TableField("related_contract_name")
|
private String relatedContractName;
|
|
|
/**
|
* 关联客户
|
*/
|
@Excel(name = "关联客户")
|
@TableField("related_customer_name")
|
private String relatedCustomerName;
|
|
@TableField("related_customer_id")
|
private Integer relatedCustomerId;
|
|
|
/**
|
* 状态
|
*/
|
@Excel(name = "状态")
|
@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;
|
|
|
}
|