package com.hr.vo;

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

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

/**
 * * 调用记录表;IpOrder数据表的PO对象
 * *
 */
@Data
public class IpOrderVO implements Serializable, Cloneable {


    @Schema(description = "主键")
    private Long id;
    @Schema(description = "调用编号（业务编号）,唯一，格式为年月日时分秒毫秒加6位随机数20250918010256001000001")
    private String orderNo;
    @Schema(description = "接口名称")
    private String interfaceName;
    @Schema(description = "账户编号")
    private String accNo;
    @Schema(description = "token值")
    private String token;
    @Schema(description = "回调地址")
    private String callbackUrl;
    @Schema(description = "是否支持回调,yes支持，no不支持")
    private String isCallback;
    @Schema(description = "回调次数,尝试回调的次数，超过次数则不再回调")
    private int callbackNum;
    @Schema(description = "调用状态,handle处理中，success成功，fail失败")
    private String orderStatus;
    @Schema(description = "回调状态,handle处理中，success成功，fail失败")
    private String callbackStatus;
    @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;
}