package com.zsElectric.boot.business.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 第三方对接信息VO
 *
 * @author system
 * @since 2025-12-15
 */
@Schema(description = "第三方对接信息VO")
@Data
public class ThirdPartyInfoVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "对接商名称")
    private String ecName;

    @Schema(description = "联系人")
    private String contactName;

    @Schema(description = "联系人电话")
    private String contactPhone;

    @Schema(description = "协议附件")
    private String ecAttach;

    @Schema(description = "对接编号")
    private String appId;

    @Schema(description = "授权码")
    private String authCode;

    @Schema(description = "状态(0-正常 1-停用)")
    private Integer status;

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

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
