- CrmOrder 类新增 BaseEntity 继承 - CrmOrderItem 类新增 BaseEntity 继承 - CrmOrderOperationTrace 类新增 BaseEntity 继承 - CrmSalesContract 类新增 BaseEntity 继承 - CrmSalesObjection 类新增 BaseEntity 继承
93 lines
1.6 KiB
Java
93 lines
1.6 KiB
Java
package com.klp.crm.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.*;
|
||
import com.klp.common.core.domain.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
import java.math.BigDecimal;
|
||
import java.util.Date;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
||
/**
|
||
* 销售合同对象 crm_sales_contract
|
||
*
|
||
* @author klp
|
||
* @date 2025-12-15
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("crm_sales_contract")
|
||
public class CrmSalesContract extends BaseEntity {
|
||
|
||
private static final long serialVersionUID=1L;
|
||
|
||
/**
|
||
* 合同ID(主键)
|
||
*/
|
||
@TableId(value = "contract_id")
|
||
private String contractId;
|
||
/**
|
||
* 合同编号
|
||
*/
|
||
private String contractCode;
|
||
/**
|
||
* 合同类型
|
||
*/
|
||
private Long contractType;
|
||
/**
|
||
* 关联客户ID(外键)
|
||
*/
|
||
private String customerId;
|
||
/**
|
||
* 合同总金额
|
||
*/
|
||
private BigDecimal totalAmount;
|
||
/**
|
||
* 交货日期
|
||
*/
|
||
private Date deliveryDate;
|
||
/**
|
||
* 合同状态
|
||
*/
|
||
private Long contractStatus;
|
||
/**
|
||
* 录入人
|
||
*/
|
||
private String createUser;
|
||
/**
|
||
* 评审人
|
||
*/
|
||
private String reviewUser;
|
||
/**
|
||
* 评审时间
|
||
*/
|
||
private Date reviewTime;
|
||
/**
|
||
* 审核人
|
||
*/
|
||
private String auditUser;
|
||
/**
|
||
* 审核时间
|
||
*/
|
||
private Date auditTime;
|
||
/**
|
||
* 下发人
|
||
*/
|
||
private String issueUser;
|
||
/**
|
||
* 下发时间
|
||
*/
|
||
private Date issueTime;
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
/**
|
||
* 删除标识 0正常 2删除
|
||
*/
|
||
@TableLogic
|
||
private Long delFlag;
|
||
|
||
}
|