You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
4.4 KiB
126 lines
4.4 KiB
4 years ago
|
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
|
||
|
{
|
||
|
///<summary>
|
||
|
///主键
|
||
|
///</summary>
|
||
|
[Description("")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///模具编码
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
///<summary>
|
||
|
///设备编码
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班次
|
||
|
///</summary>
|
||
|
//[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班组
|
||
|
///</summary>
|
||
|
//[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///描述
|
||
|
///</summary>
|
||
|
//[Description("描 述")]
|
||
|
//[DGColumn(Sortable = true, Width = 120, DataAlign = DataAlign.left)]
|
||
|
//public string REMARK { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建用户
|
||
|
/// </summary>
|
||
|
//[Description("操作者")]
|
||
|
//[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
//public string OPERATOR { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 操作时间
|
||
|
/// </summary>
|
||
|
[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; }
|
||
|
|
||
|
///<summary>
|
||
|
///统计标识
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///使用次数
|
||
|
///</summary>
|
||
|
[Description("使用次数")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string USAGECOUNT { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|