package com.hr.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * 接口表;IpInterface数据表的PO对象
 *
 * @author : longhoo
 * @date : 2025-10-10
 */
@Data
public class IpInterfaceParam extends PageParam {

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "接口名称,名称唯一")
    private String interfaceName;
    @Schema(description = "接口编号,标号唯一")
    private String interfaceNo;
    @Schema(description = "接口厂商")
    private String manufacturer;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "状态,normal 有效，disable 禁用，delete 删除")
    private String status;
    @Schema(description = "接口配置,JSON格式的配置文件，存放接口参数")
    private String interfaceConfig;
    @Schema(description = "创建时间")
    private Date addTime;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "创建人id")
    private Long addUserId;
    @Schema(description = "更新人id")
    private Long updateUserId;
    @Schema(description = "创建人姓名")
    private String addUserName;
    @Schema(description = "更新人姓名")
    private String updateUserName;

    private List<String> statusList = Arrays.asList("normal", "disable");

}