package com.yc.ship.module.trade.controller.admin.order.vo.order;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 订单操作日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TradeOrderLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29718")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户ID", example = "28458")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "用户类型", example = "28458")
    private Integer userType;

    @Schema(description = "用户昵称", example = "28458")
    @ExcelProperty("用户昵称")
    private String userName;

    @Schema(description = "订单ID", example = "8563")
    @ExcelProperty("订单ID")
    private Long orderId;

    @Schema(description = "操作前状态", example = "2")
    @ExcelProperty("操作前状态")
    private Integer beforeStatus;

    @Schema(description = "操作后状态", example = "2")
    @ExcelProperty("操作后状态")
    private Integer afterStatus;

    @Schema(description = "操作类型", example = "2")
    @ExcelProperty("操作类型")
    private Integer operateType;

    @Schema(description = "操作类型")
    @ExcelProperty("操作类型")
    private String content;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private Long tenantId;

}