package com.zt.plat.module.qms.resource.clientManage.controller.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户端版本管理分页 Request VO")
@Data
public class VersionManagementPageReqVO extends PageParam {

    @Schema(description = "客户端code", example = "赵六")
    private String applicationCode;

    @Schema(description = "客户端名称", example = "赵六")
    private String applicationName;

    @Schema(description = "更新标题")
    private String updateTitle;

    @Schema(description = "更新内容")
    private String updateContent;

    @Schema(description = "更新平台")
    private String updatePlatform;

    @Schema(description = "安装包类型")
    private String updateType;

    @Schema(description = "发布状态")
    private String publishFlag;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建人")
    private String creator;

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

}