package com.gxwebsoft.cms.param;

import java.math.BigDecimal;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 网站模版查询参数
 *
 * @author 科技小王子
 * @since 2025-01-21 14:21:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "CmsTemplateParam对象", description = "网站模版查询参数")
public class CmsTemplateParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "模版名称")
    private String name;

    @Schema(description = "模版标识")
    private String code;

    @Schema(description = "缩列图")
    private String image;

    @Schema(description = "类型 1企业官网 2其他")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "网站关键词")
    private String keywords;

    @Schema(description = "域名前缀")
    private String prefix;

    @Schema(description = "预览地址")
    private String domain;

    @Schema(description = "模版下载地址")
    private String downUrl;

    @Schema(description = "色系")
    private String color;

    @Schema(description = "应用版本 10免费版 20授权版 30永久授权")
    @QueryField(type = QueryType.EQ)
    private Integer version;

    @Schema(description = "行业类型(父级)")
    private String industryParent;

    @Schema(description = "行业类型(子级)")
    private String industryChild;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "是否推荐")
    @QueryField(type = QueryType.EQ)
    private Boolean recommend;

    @Schema(description = "是否共享模板")
    @QueryField(type = QueryType.EQ)
    private Boolean share;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

}
