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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 商户服务注册 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ServiceRegistRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1663")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "应用ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25229")
    @ExcelProperty("应用ID")
    private String appId;

    @Schema(description = "应用名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("应用名称")
    private String appName;

    @Schema(description = "渠道编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6018")
    @ExcelProperty("渠道编号")
    private String channelId;

    @Schema(description = "商户号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商户号")
    private String mchNo;

    @Schema(description = "商户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("商户名称")
    private String mchName;

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

    @Schema(description = "应用公钥", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应用公钥")
    private String appPubKey;

    @Schema(description = "应用私钥", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应用私钥")
    private String appSecret;

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}