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.Dianjian
{
///
/// 模块名称:注塑料筒信息
/// 作 者:张松男
/// 编写日期:2021年07月13日
///
public class PutMachineClassModel : QDGModel
{
///
/// 主键
///
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[DGColumn(Hidden = false, PrimaryKey = true)]
public string PID { get; set; }
///
/// 点检编号
///
[Description("点检编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MachineCode { get; set; }
///
/// 点检名称
///
[Description("点检名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string Name { get; set; }
///
/// 点检部位
///
[Description("点检部位")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string Position { get; set; }
///
/// 点检内容
///
[Description("点检内容")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string Content { get; set; }
///
/// 点检方法
///
[Description("点检方法")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string Methond { get; set; }
///
/// 点检类型
///
[Description("点检类型")]
// [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetTypeComboxSource", MaxLength = 15, Width = 100)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string Type { get; set; }
///
/// 点检排序
///
[Description("点检排序")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string SerialNumber { get; set; }
}
}