package com.panzhihua.service_community.model.dos; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * @ClassName: ComShopFlowerOrderOperate * @Author: yh * @Date: 2022/11/9 16:46 * @Description: 花城订单操作记录表 */ @TableName(value = "com_shop_flower_order_operate") @Data public class ComShopFlowerOrderOperateDO implements Serializable { private static final long serialVersionUID = 1L; /** * ,主键 */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 订单号 */ @TableField(value = "order_no") private String orderNo; /** * 操作人 */ @TableField(value = "operation_by") private String operationBy; /** * 操作时间 */ @TableField(value = "operation_time") private Date operationTime; /** * 操作类型(1.创建订单 2.取消订单 3.订单支付 4.订单发货 5.订单完成) */ @TableField(value = "operation_type") private Integer operationType; /** * 操作内容 */ @TableField(value = "operation_content") private String operationContent; /** * 创建时间 */ @TableField(value = "create_at",fill = FieldFill.INSERT) private Date createAt; /** * 操作类型(1.创建订单 2.取消订单 3.订单支付 4.订单发货 5.订单完成) */ public interface operationType { int create = 1; int cancel = 2; int pay = 3; int deliver = 4; int complete = 5; } }