package com.zcloud.personnel.positioning.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * web-client
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OpenapiConfigUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;

    @ApiModelProperty(value = "配置编码", name = "configCode")
    private String configCode;

    @ApiModelProperty(value = "配置名称", name = "configName")
    private String configName;

    @ApiModelProperty(value = "厂商名称", name = "vendorName")
    private String vendorName;

    @ApiModelProperty(value = "接口服务地址", name = "hostUrl")
    private String hostUrl;

    @ApiModelProperty(value = "外部接口前缀", name = "externalPrefix")
    private String externalPrefix;

    @ApiModelProperty(value = "内部接口前缀", name = "internalPrefix")
    private String internalPrefix;

    @ApiModelProperty(value = "应用SIK", name = "sik")
    private String sik;

    @ApiModelProperty(value = "应用SIS密文", name = "sisCipherText")
    private String sisCipherText;

    @ApiModelProperty(value = "是否启用 1是 0否", name = "enabled")
    private Integer enabled;

    @ApiModelProperty(value = "最近检测状态", name = "lastCheckStatus")
    private String lastCheckStatus;

    @ApiModelProperty(value = "最近检测时间", name = "lastCheckTime")
    private LocalDateTime lastCheckTime;

    @ApiModelProperty(value = "企业id/公司id（公司及子公司数据隔离）", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "企业名称/公司名称", name = "corpinfoName")
    private String corpinfoName;
}
