You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
2.3 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
/// <summary>
/// 操作记录
/// </summary>
[JsonObject(MemberSerialization.OptIn), Table(Name = "Sys_OpRecord", DisableSyncStructure = true)]
public partial class SysOpRecord {
/// <summary>
/// ID
/// </summary>
[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
public int ID { get; set; }
/// <summary>
/// 类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CateId { get; set; }
/// <summary>
/// 公司ID
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string CompId { get; set; }
/// <summary>
/// 公司名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string CompName { get; set; }
/// <summary>
/// IP地址
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string IpAddr { get; set; }
/// <summary>
/// 模块
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string ModuleId { get; set; }
/// <summary>
/// 操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime OpTime { get; set; }
/// <summary>
/// 关联Id
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string RelativeId { get; set; }
/// <summary>
/// 请求地址
/// </summary>
[JsonProperty, Column(DbType = "varchar(2000)")]
public string ReqAddr { get; set; }
/// <summary>
/// 请求参数
/// </summary>
[JsonProperty, Column(DbType = "varchar(MAX)")]
public string ReqParam { get; set; }
/// <summary>
/// 返回数据
/// </summary>
[JsonProperty, Column(DbType = "varchar(MAX)")]
public string RespData { get; set; }
/// <summary>
/// 用户ID
/// </summary>
[JsonProperty, Column(DbType = "varchar(40)")]
public string UserId { get; set; }
/// <summary>
/// 用户名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string UserName { get; set; }
/// <summary>
/// 浏览器
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string WebBrowser { get; set; }
}
}