package com.hr.vo;

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

import java.io.Serializable;
import java.util.Date;

/**
 * token与接口关系表;IpTokenInterface数据表的VO对象
 * @author : longhoo
 * @date : 2025-10-10
 */
 
@Data
public class IpTokenInterfaceVO implements Serializable,Cloneable{
    @Schema(description = "主键")
    private Long id ;
    @Schema(description = "token表主键")
    private String tid ;
    @Schema(description = "接口表主键")
    private String iid ;
    @Schema(description = "是否支持回调,yes支持，no不支持")
    private String isCallback ;
    @Schema(description = "回调地址(回调url),回调的url，只有在支持回调时才有")
    private String callbackUrl ;
    @Schema(description = "回调次数,尝试回调的次数，超过次数则不再回调")
    private int callbackNum ;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Schema(description = "更新时间")
    private Date updateTime ;
    @Schema(description = "创建人id")
    private String addUserId ;
    @Schema(description = "更新人id")
    private String updateUserId ;
    @Schema(description = "创建人姓名")
    private String addUserName ;
    @Schema(description = "更新人姓名")
    private String updateUserName ;
}