package com.gxwebsoft.common.system.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付方式查询参数
 *
 * @author 科技小王子
 * @since 2024-05-11 12:39:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PaymentParam对象", description = "支付方式查询参数")
public class PaymentParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "支付方式")
    private String name;

    @ApiModelProperty(value = "类型")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @ApiModelProperty(value = "标识")
    @QueryField(type = QueryType.EQ)
    private String code;

    @ApiModelProperty(value = "微信商户号类型 1普通商户2子商户")
    @QueryField(type = QueryType.EQ)
    private Integer wechatType;

    @ApiModelProperty(value = "应用ID")
    private String appId;

    @ApiModelProperty(value = "商户号")
    private String mchId;

    @ApiModelProperty(value = "设置APIv3密钥")
    private String apiKey;

    @ApiModelProperty(value = "证书文件 (CERT)")
    private String apiclientCert;

    @ApiModelProperty(value = "证书文件 (KEY)")
    private String apiclientKey;

    @ApiModelProperty(value = "商户证书序列号")
    private String merchantSerialNumber;

    @ApiModelProperty(value = "备注")
    private String comments;

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

    @ApiModelProperty(value = "状态, 0启用, 1禁用")
    @QueryField(type = QueryType.EQ)
    private Boolean status;

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

}
