using System; using System.Collections.Generic; using System.Linq; using System.Text; using SqlSugar; using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; namespace WIDESEAWCS_Model.Models { [SugarTable(nameof(Dt_Interfacerecord), "接口日志信息")] public class Dt_Interfacerecord { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 请求者 /// [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "请求者")] public string Request { get; set; } /// /// 请求参数 /// [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "请求参数")] public string RequestParam { get; set; } /// /// 响应者 /// [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "响应者")] public string Response { get; set; } /// /// 响应参数 /// [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "响应参数")] public string ResponseParam { get; set; } /// /// 开始时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "开始时间")] public DateTime? BeginDate { get; set; } /// /// 时长 /// [SugarColumn(IsNullable = true, ColumnDescription = "时长")] public int? ElapsedTime { get; set; } /// /// 结束时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "结束时间")] public DateTime EndDate { get; set; } /// /// 响应状态 /// [SugarColumn(IsNullable = true, ColumnDescription = "响应状态")] public int? Success { get; set; } /// /// 请求地址 /// [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "请求地址")] public string Url { get; set; } } }