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.
67 lines
1.7 KiB
C#
67 lines
1.7 KiB
C#
using SqlSugar;
|
|
|
|
namespace ProductionSystem_Model.DbModel.System
|
|
{
|
|
/// <summary>
|
|
/// 系统操作日志
|
|
/// </summary>
|
|
[SugarTable("sys_log")]
|
|
public class Sys_Log : BaseModel
|
|
{
|
|
/// <summary>
|
|
/// 操作人Id
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "operator_id")]
|
|
public string OperatorId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作人姓名
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "operator_name")]
|
|
public string OperatorName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作IP
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "operator_ip")]
|
|
public string OperatorIP { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "operate_type")]
|
|
public string OperateType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 模块(方法)名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "module_name")]
|
|
public string ModuleName { get; set; }
|
|
|
|
/// <summary>
|
|
///旧的操作内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "old_content")]
|
|
public string OldContent { get; set; }
|
|
|
|
/// <summary>
|
|
///新的操作内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "new_content")]
|
|
public string NewContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作结果
|
|
/// true:成功 false:失败
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "issuccess")]
|
|
public bool IsSuccess { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作异常信息
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "errmsg")]
|
|
public bool ErrMsg { get; set; }
|
|
}
|
|
}
|