package com.fufan.mtsaas.modules.base.intflog.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 接口通讯日志表(TIntfLog)实体类
 *
 * @author Liby
 * @since 2023-03-23 10:02:21
 */

@Data
@ApiModel(description = "接口通讯日志表")
@TableName("t_intf_log")
public class TIntfLog implements Serializable {
    private static final long serialVersionUID = 259855957958109104L;
    @TableId("id")
    @ApiModelProperty(value = "通讯接口系统ID")
    private Long id;
    @ApiModelProperty(value = "公司系统ID")
    private Long companyId;
    @ApiModelProperty(value = "来源系统")
    private String fromSys;
    @ApiModelProperty(value = "目标系统")
    private String targSys;
    @ApiModelProperty(value = "处理状态：S-成功，E-失败")
    private String processStatus;
    @ApiModelProperty(value = "请求报文内容")
    private String requestMsg;
    @ApiModelProperty(value = "返回报文内容")
    private String responseMsg;
    @ApiModelProperty(value = "异常内容")
    private String exceptionMsg;
    @ApiModelProperty(value = "异常处理联系人")
    private String exceptionResponser;
    @ApiModelProperty(value = "接口类型")
    private String interfaceType;
    @ApiModelProperty(value = "唯一标识")
    private String uniqueKey;
    @ApiModelProperty(value = "错误次数")
    private Integer errorCount;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    @ApiModelProperty(value = "启用状态 0：正常 1：禁用")
    private Integer isEnabled;
    @ApiModelProperty(value = "请求Url")
    private String requestUrl;
}

