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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 小程序信息查询参数
 *
 * @author 科技小王子
 * @since 2024-07-23 00:09:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "MpParam对象", description = "小程序信息查询参数")
public class MpParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @QueryField(type = QueryType.EQ)
    private Integer mpId;

    @ApiModelProperty(value = "是否主账号")
    private Integer type;

    @ApiModelProperty(value = "小程序ID")
    private String appId;

    @ApiModelProperty(value = "小程序密钥")
    private String appSecret;

    @ApiModelProperty(value = "小程序名称")
    private String mpName;

    @ApiModelProperty(value = "小程序简称")
    private String shortName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "小程序码")
    private String mpQrcode;

    @ApiModelProperty(value = "微信认证")
    @QueryField(type = QueryType.EQ)
    private Integer authentication;

    @ApiModelProperty(value = "主体信息")
    private String companyName;

    @ApiModelProperty(value = "小程序备案")
    private String icpNo;

    @ApiModelProperty(value = "登录邮箱")
    private String email;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "原始ID")
    private String ghId;

    @ApiModelProperty(value = "入口页面")
    private String mainPath;

    @ApiModelProperty(value = "过期时间")
    private String expirationTime;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @ApiModelProperty(value = "介绍")
    private String comments;

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

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

}
