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, MultiTenant] public class Sys_Log { /// <summary> /// 主键 /// </summary> [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// <summary> /// 开始时间 /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "开始时间")] public DateTime? BeginDate { get; set; } /// <summary> /// æ—¶é•¿ /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "æ—¶é•¿")] public int? ElapsedTime { get; set; } /// <summary> /// ç»“æŸæ—¶é—´ /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "ç»“æŸæ—¶é—´")] public DateTime EndDate { get; set; } /// <summary> /// 日志类型 /// </summary> //[SugarColumn(IsNullable = true, ColumnDescription = "日志类型")] //public DateTime LogType { get; set; } /// <summary> /// è¯·æ±‚å‚æ•° /// </summary> [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "è¯·æ±‚å‚æ•°")] public string RequestParam { get; set; } /// <summary> /// å“åº”å‚æ•° /// </summary> [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "å“åº”å‚æ•°")] public string ResponseParam { get; set; } /// <summary> /// å“åº”çŠ¶æ€ /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "å“应状æ€")] public int? Success { get; set; } /// <summary> /// è¯·æ±‚åœ°å€ /// </summary> [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "请求地å€")] public string Url { get; set; } /// <summary> /// 用户IP /// </summary> [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "用户IP")] public string UserIP { get; set; } /// <summary> /// 用户åç§° /// </summary> [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "用户åç§°")] public string? UserName { get; set; } /// <summary> /// 用户主键 /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "用户主键")] public int? UserId { get; set; } } }