using System;
using System.Data;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys.Entity
{
///
/// 用户委托授权
/// 作 者:李炳海
/// 编写日期:2015年01月07日
///
[DBTable(TableName = "T_QM_USERENTRUST", TimeStampColumn = "UPDATEDATE")]
public class T_QM_USERENTRUST : BaseEntity
{
///
/// 主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///委托用户
///
[DBColumn(ColumnName = "ENTRUSTUSERID", DataType = DbType.String)]
public string ENTRUSTUSERID { get; set; }
///
///代理用户
///
[DBColumn(ColumnName = "AGENTUSERID", DataType = DbType.String)]
public string AGENTUSERID { get; set; }
///
///起始时间
///
[DBColumn(ColumnName = "STARTTIME", DataType = DbType.DateTime)]
public DateTime STARTTIME { get; set; }
///
///结束时间
///
[DBColumn(ColumnName = "ENDTIME", DataType = DbType.DateTime)]
public DateTime ENDTIME { get; set; }
///
///委托原因
///
[DBColumn(ColumnName = "ENTRUSTREASON", DataType = DbType.String)]
public string ENTRUSTREASON { get; set; }
///
///是否有效
///
[DBColumn(ColumnName = "VALIDFLG", DataType = DbType.String)]
public string VALIDFLG { get; set; }
///
///是否删除
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
///
///创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime,DefaultValue=DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
///修改人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
///
///修改时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
}
}