Files
klp-oa/klp-crm/src/main/java/com/klp/crm/domain/CrmOrderOperationTrace.java
Joshi 8f110f6a58 feat(crm): 为订单相关实体类添加基础实体继承
- CrmOrder 类新增 BaseEntity 继承
- CrmOrderItem 类新增 BaseEntity 继承
- CrmOrderOperationTrace 类新增 BaseEntity 继承
- CrmSalesContract 类新增 BaseEntity 继承
- CrmSalesObjection 类新增 BaseEntity 继承
2025-12-15 16:17:02 +08:00

68 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}