package com.panzhihua.service_community.model.dos; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; /** * @auther lyq * @create 2021-04-14 15:03:31 * @describe 订单操作记录表实体类 */ @Data @TableName("com_shop_order_operate") public class ComShopOrderOperateDO implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 订单号 */ private String orderNo; /** * 操作人 */ private String operationBy; /** * 操作时间 */ private Date operationTime; /** * 操作类型(1.创建订单 2.取消订单 3.订单支付 4.订单发货 5.订单完成) */ private Integer operationType; /** * 操作内容 */ private String operationContent; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; @Override public String toString() { return "ComShopOrderOperateDO{" + "id=" + id + ", orderNo=" + orderNo + ", operationBy=" + operationBy + ", operationTime=" + operationTime + ", operationType=" + operationType + ", operationContent=" + operationContent + ", createAt=" + createAt + "}"; } /** * 操作类型(1.创建订单 2.取消订单 3.订单支付 4.订单发货 5.订单完成) */ public interface operationType { int create = 1; int cancel = 2; int pay = 3; int deliver = 4; int complete = 5; } }