using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataEntity;
namespace XImagingXhandler.XDAL
{
///
/// 日志记录信息实体
///
public class LogInformation:IEntity
{
///
/// 日志编号
///
public string log_id { get; set; }
private string _log_name = "";
///
/// 日志名称
///
public string log_name
{
get { return _log_name; }
set
{
if (log_name == value) return; // 避免重复设置相同的值
_log_name = value;
OnPropertyChanged(nameof(log_name));
}
}
///
/// 更新时间
///
public DateTime _time_stamp { get; set; }
///
/// 更新时间
///
public DateTime time_stamp
{
get { return _time_stamp; }
set
{
if (time_stamp == value) return; // 避免重复设置相同的值
_time_stamp = value;
OnPropertyChanged(nameof(time_stamp));
}
}
///
/// 日志类型
///
private string _log_type { get; set; }
///
/// 日志类型
///
public string log_type
{
get { return _log_type; }
set
{
if (log_type == value) return; // 避免重复设置相同的值
_log_type = value;
OnPropertyChanged(nameof(log_type));
}
}
///
/// 日志内容描述
///
private string _log_content { get; set; }
///
/// 日志内容描述
///
public string log_content
{
get { return _log_content; }
set
{
if (log_content == value) return; // 避免重复设置相同的值
_log_content = value;
OnPropertyChanged(nameof(log_content));
}
}
///
/// 日志存储的路径文件
///
private string _log_filepath { get; set; }
///
/// 日志存储的路径文件
///
public string log_filepath
{
get { return _log_filepath; }
set
{
if (log_filepath == value) return; // 避免重复设置相同的值
_log_filepath = value;
OnPropertyChanged(nameof(log_filepath));
}
}
}
}