using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
namespace QMAPP.FJC.Web.Models.Equipment
{
public class UsageLogModel : QDGModel
{
///
///主键
///
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
///模具编码
///
[Description("模具编码")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string MOULD_PID { get; set; }
[Description("模具名称")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string MOULD_PID_TXT { get; set; }
///
///设备编码
///
[Description("设备编码")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string MACHINE_PID { get; set; }
[Description("设备名称")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string MACHINE_PID_TXT { get; set; }
///
///班次
///
//[Description("班次")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 10)]
//[InputType(inputType.combobox)]
//public string SHIFT_CODE { get; set; }
//[Description("班次")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
//public string SHIFT_CODE_TXT { get; set; }
///
///班组
///
//[Description("班组")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 10)]
//[InputType(inputType.combobox)]
//public string TEAM_CODE { get; set; }
//[Description("班组")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
//public string TEAM_CODE_TXT { get; set; }
///
///描述
///
//[Description("描 述")]
//[DGColumn(Sortable = true, Width = 120, DataAlign = DataAlign.left)]
//public string REMARK { get; set; }
///
/// 创建用户
///
//[Description("操作者")]
//[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
//public string OPERATOR { get; set; }
///
/// 操作时间
///
[Description("操作时间")]
//[HTMLInput(UpdateRead = true, MaxLength = 20)]
//[InputType(inputType.hidden)]
//[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime OPERATION_DATE { get; set; }
[Description("查询日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string START_OPERATION_DATE { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string END_OPERATION_DATE { get; set; }
///
///统计标识
///
[Description("统计标识")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/EmMeterReadings/GetFlagTimeComboxSource")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string FLAG_TIME { get; set; }
///
///使用次数
///
[Description("使用次数")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string USAGECOUNT { get; set; }
}
}