- CrmOrder 类新增 BaseEntity 继承 - CrmOrderItem 类新增 BaseEntity 继承 - CrmOrderOperationTrace 类新增 BaseEntity 继承 - CrmSalesContract 类新增 BaseEntity 继承 - CrmSalesObjection 类新增 BaseEntity 继承
68 lines
1.3 KiB
Java
68 lines
1.3 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.util.Date;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
||
/**
|
||
* 订单操作追溯对象 crm_order_operation_trace
|
||
*
|
||
* @author klp
|
||
* @date 2025-12-15
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("crm_order_operation_trace")
|
||
public class CrmOrderOperationTrace extends BaseEntity {
|
||
|
||
private static final long serialVersionUID=1L;
|
||
|
||
/**
|
||
* 追溯ID(主键)
|
||
*/
|
||
@TableId(value = "trace_id")
|
||
private String traceId;
|
||
/**
|
||
* 关联订单ID(外键)
|
||
*/
|
||
private String orderId;
|
||
/**
|
||
* 操作类型(如:创建/修改/审核/取消/发货等)
|
||
*/
|
||
private String operationType;
|
||
/**
|
||
* 操作前状态
|
||
*/
|
||
private String oldStatus;
|
||
/**
|
||
* 操作后状态
|
||
*/
|
||
private String newStatus;
|
||
/**
|
||
* 操作内容(如:修改了交货日期)
|
||
*/
|
||
private String operationContent;
|
||
/**
|
||
* 操作人
|
||
*/
|
||
private String operator;
|
||
/**
|
||
* 操作时间
|
||
*/
|
||
private Date operationTime;
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
/**
|
||
* 删除标识 0正常 2删除
|
||
*/
|
||
@TableLogic
|
||
private Long delFlag;
|
||
|
||
}
|