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.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付方式查询参数
 *
 * @author 科技小王子
 * @since 2024-05-11 12:39:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "PaymentParam对象", description = "支付方式查询参数")
public class PaymentParam 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 = "类型")
    @QueryField(type = QueryType.EQ)
    private Integer type;

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

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

    @Schema(description = "应用ID")
    private String appId;

    @Schema(description = "商户号")
    private String mchId;

    @Schema(description = "设置APIv3密钥")
    private String apiKey;

    @Schema(description = "证书文件 (CERT)")
    private String apiclientCert;

    @Schema(description = "证书文件 (KEY)")
    private String apiclientKey;

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

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

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

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

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

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

}
