package com.wzj.soopin.order.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

/**
 * 订单操作历史记录对象 oms_order_operate_history
 *
 * @author zcc
 */
@Schema(description = "订单操作历史记录对象")
@Data
@TableName("oms_order_operate_history")
public class OrderOperateHistory extends BaseAudit {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "订单id")
    @Excel(name = "订单id")
    private Long orderId;

    @Schema(description = "订单号")
    @Excel(name = "订单号")
    private String orderSn;

    @Schema(description = "操作人：用户；系统；后台管理员")
    @Excel(name = "操作人：用户；系统；后台管理员")
    private String operateMan;

    @Schema(description = "订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    @Excel(name = "订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer orderStatus;


    @Schema(description = "备注")
    @Excel(name = "备注")
    private String note;
}
