using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.Web.Models.Report
{
///
/// 数据处理任务日志
///
public class DataTaskLogModel : QDGModel
{
///
/// 日志主键
///
[DGColumn(Hidden = true,PrimaryKey=true)]
public string PID { get; set; }
///
/// 计划主键
///
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
public string PLANID { get; set; }
///
/// 任务主键
///
[Description("任务主键")]
[DGColumn(Hidden = true)]
public string TASKID { get; set; }
///
/// 任务名称
///
[Description("任务名称")]
[DGColumn(Sortable = true, Width = 200, DataAlign = DataAlign.left)]
public string TASKNAME { get; set; }
///
/// 执行时间
///
[Description("执行时间")]
[DGColumn(Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public DateTime LASTEXECUTETIME { get; set; }
///
/// 执行结果
///
[Description("执行结果")]
[DGColumn(Sortable = true, Width = 300, DataAlign = DataAlign.left,DisplayLength=20)]
public string LASTEXECUTERESULT { get; set; }
///
/// 开始时间
///
[Description("开始时间")]
[HTMLInput(UpdateRead = false)]
[InputType(inputType.dateTimeBox)]
public string StartTime { get; set; }
///
/// 截止时间
///
[Description("截止时间")]
[HTMLInput(UpdateRead = false)]
[InputType(inputType.dateTimeBox)]
public string EndTime { get; set; }
}
}