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