using System;
using System.Data;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 数据痕迹
///
[DataContract]
[DBTable(TableName = "T_BD_DATAMARK")]
public class DataMark : BaseEntity
{
///
/// 主键
///
[DataMember]
[DBColumn(ColumnName = "MARKID", DataType = DbType.String, IsKey = true)]
public string MARKID { get; set; }
///
/// 操作者
///
[DataMember]
[DBColumn(ColumnName = "OPERATEUSER", DataType = DbType.String)]
public string OPERATEUSER { get; set; }
///
/// 操作时间
///
[DataMember]
[DBColumn(ColumnName = "OPERATETIME", DataType = DbType.DateTime)]
public DateTime OPERATETIME { get; set; }
///
/// 操作开始时间
///
[DataMember]
public string STARTOPERATETIME { get; set; }
///
/// 操作截至时间
///
[DataMember]
public string ENDOPERATETIME { get; set; }
///
/// 操作类型
///
[DataMember]
[DBColumn(ColumnName = "OPERATETYPE", DataType = DbType.String)]
public string OPERATETYPE { get; set; }
///
/// 业务数据类型(数据表名)
///
[DataMember]
[DBColumn(ColumnName = "DATAKIND", DataType = DbType.String)]
public string DATAKIND { get; set; }
///
/// 数据表名
///
public string DATAKINDDES { get; set; }
///
/// 数据主键
///
[DataMember]
[DBColumn(ColumnName = "DATAID", DataType = DbType.String)]
public string DATAID { get; set; }
///
/// 原数据(JSON)
///
[DataMember]
[DBColumn(ColumnName = "ORIGINALDATA", DataType = DbType.String)]
public string ORIGINALDATA { get; set; }
///
/// 变更后数据(JSON)
///
[DataMember]
[DBColumn(ColumnName = "CHANGEDDATA", DataType = DbType.String)]
public string CHANGEDDATA { get; set; }
///
/// 数据变更明细
///
[DataMember]
public List Details { get; set; }
}
}