using JNPF.Common.Contracts;
using SqlSugar;
namespace Tnb.BasicData.Entities
{
///
/// 第三方接口请求记录
///
[SugarTable("third_webapi_record")]
public class ThirdWebapiRecord : BaseEntity
{
///
/// 第三方名
///
public string third_name { get; set; }
///
/// 名称
///
public string name { get; set; }
///
/// 请求方式
///
public string method { get; set; }
///
/// 地址
///
public string url { get; set; }
///
/// 请求数据
///
public string request_data { get; set; }
///
/// 接收数据
///
public string response_data { get; set; }
///
/// 返回码
///
public int response_code { get; set; }
///
/// 响应时长
///
public long response_time { get; set; }
///
/// 是否发送 0 否 1是
///
public int is_send { get; set; } = 1;
///
/// 状态 0 失败或未发送 1 成功
///
public int status { get; set; } = 0;
///
/// 发送成功时类型 自动 手动
///
public string send_type { get; set; }
///
/// 创建时间
///
public DateTime create_time { get; set; }
///
/// 最后发送时间
///
public DateTime? last_send_time { get; set; }
///
/// 备注
///
public string remark { get; set; }
}
}