package cn.iocoder.hake.module.pay.controller.admin.serviceregist.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.hake.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.hake.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户服务注册分页 Request VO")
@Data
public class ServiceRegistPageReqVO extends PageParam {

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

    @Schema(description = "应用名称", example = "王五")
    private String appName;

    @Schema(description = "渠道编号", example = "6018")
    private String channelId;

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

    @Schema(description = "商户名称", example = "张三")
    private String mchName;

    @Schema(description = "应用状态: 0-停用, 1-正常")
    private Integer state;

    @Schema(description = "应用公钥")
    private String appPubKey;

    @Schema(description = "应用私钥")
    private String appSecret;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}