package cn.iocoder.yudao.module.pms.controller.admin.iotsapsynclog.vo;

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 = "管理后台 - 操作日志记录 V2 版本 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotSapSyncLogRespVO {

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

    @Schema(description = "链路追踪编号", example = "30037")
    @ExcelProperty("链路追踪编号")
    private String traceId;

    @Schema(description = "操作类型(同步领料单picking、同步物料主数据material、同步SAP库存stock、同步客商数据supply)", example = "1")
    @ExcelProperty("操作类型(同步领料单picking、同步物料主数据material、同步SAP库存stock、同步客商数据supply)")
    private String subType;

    @Schema(description = "操作内容")
    @ExcelProperty("操作内容")
    private String action;

    @Schema(description = "操作结果")
    @ExcelProperty("操作结果")
    private Boolean success;

    @Schema(description = "拓展字段")
    @ExcelProperty("拓展字段")
    private String extra;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}