package com.tashow.cloud.trade.controller.admin.order.vo;

import com.tashow.cloud.trade.dal.dataobject.order.TradeOrderDO;
import com.tashow.cloud.tradeapi.enums.order.TradeOrderOperateTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TradeOrderStatusRespVo {

    private Long id;
    /**
     * 订单号
     *
     * 关联 {@link TradeOrderDO#getId()}
     */
    private Long orderId;
    /**
     * 操作前状态
     */
    private Integer beforeStatus;
    /**
     * 操作后状态
     */
    private Integer afterStatus;

    /**
     * 操作类型
     *
     * {@link TradeOrderOperateTypeEnum}
     */
    private Integer operateType;
    /**
     * 订单日志信息
     */
    private String content;

    /**
     * 订单日志信息
     */
    private LocalDateTime createTime;
}
