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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 操作日志记录 V2 版本分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotSapSyncLogPageReqVO extends PageParam {

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

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

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}