package com.jeesharp.business.modules.setting.vo;

import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * C 端客户端版本发布列表行 VO（后台管理端）。
 *
 * @author jeesharp
 * @since 2026-05-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "客户端版本发布列表行")
public class ClientAppVersionListVO extends BaseListVO {

    @Schema(description = "展示版本号")
    private String version;

    @Schema(description = "整型版本号")
    private Integer versionCode;

    @Schema(description = "发布时间展示串")
    private String releaseTime;

    @Schema(description = "版本类型：1-正式版 2-测试版")
    private Integer versionType;

    @Schema(description = "版本类型名称")
    private String versionTypeName;

    @Schema(description = "更新策略：1-强制更新 2-可选更新")
    private Integer updateType;

    @Schema(description = "更新策略名称")
    private String updateTypeName;

    @Schema(description = "适用端 JSON 数组")
    private String platformsJson;

    @Schema(description = "状态：0-草稿 1-已发布 2-已下线")
    private Integer status;

    @Schema(description = "状态名称")
    private String statusName;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;
}
