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.
297 lines
11 KiB
297 lines
11 KiB
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.CheckTime
|
|
{
|
|
/// <summary>
|
|
/// 模块名称:工位时间验证
|
|
/// 作 者:张松男
|
|
/// 编写日期:2020年05月27日
|
|
/// </summary>
|
|
public class ProductTimeModel : 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 = true, required = false, MaxLength = 200, JsonUtl = "/Dict/GetWorkLocComboxSource")] //
|
|
[InputType(inputType.combobox)]
|
|
//[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string CWorkLoc_Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 校验工位编号
|
|
/// </summary>
|
|
[Description("校验工位编号")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200, JsonUtl = "/Dict/GetWorkLocComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PWorkLoc_Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 校验工位列名
|
|
/// </summary>
|
|
[Description("校验工位列名")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PWorkLoc_Column { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品码列名
|
|
/// </summary>
|
|
[Description("产品码列名")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Product_Column { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否验证
|
|
/// </summary>
|
|
[Description("是否验证")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Check { get; set; }
|
|
|
|
/// <summary>
|
|
/// 验证运算符
|
|
/// </summary>
|
|
[Description("验证运算符")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Operator { get; set; }
|
|
|
|
/// <summary>
|
|
/// 验证类型
|
|
/// </summary>
|
|
[Description("验证类型")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Check_Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 验证值
|
|
/// </summary>
|
|
[Description("验证值(h)")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Check_Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// 校验表
|
|
/// </summary>
|
|
[Description("校验表")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Check_Table { get; set; }
|
|
|
|
/// <summary>
|
|
/// 校验字段
|
|
/// </summary>
|
|
[Description("校验字段")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Check_Column { get; set; }
|
|
|
|
/// <summary>
|
|
/// 校验where条件
|
|
/// </summary>
|
|
[Description("校验where条件")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Pwhere { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
[Description("描述")]
|
|
[HTMLInput(UpdateRead = true, required = false, MaxLength = 200)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
public string CREATEUSER { 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 CREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新人
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
public string UPDATEUSER { 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 UPDATEDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
///// 正则表达式
|
|
///// </summary>
|
|
//[Description("物料PID")]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string MPID { get; set; }
|
|
|
|
///// <summary>
|
|
///// 物料类型
|
|
///// </summary>
|
|
//[Description("总成物料号")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialClassComboxSource", MaxLength = 20)]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 300)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
//public string MATERIALCODDE { get; set; }
|
|
|
|
///// <summary>
|
|
///// 数据类型
|
|
///// </summary>
|
|
//[Description("二维码头052")]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string barcodeFist { get; set; } = "052";
|
|
|
|
///// <summary>
|
|
///// 描述
|
|
///// </summary>
|
|
//[Description("公司编码(3位)")]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
|
|
//[InputType(inputType.textArea)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string Company_code { get; set; }
|
|
///// <summary>
|
|
///// 描述
|
|
///// </summary>
|
|
//[Description("公司名称")]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 100)]
|
|
//[InputType(inputType.textArea)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string Company_name { get; set; }
|
|
|
|
///// <summary>
|
|
///// 描述
|
|
///// </summary>
|
|
//[Description("产线代码")]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 100)]
|
|
//[InputType(inputType.textArea)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string Line_code { get; set; }
|
|
|
|
///// <summary>
|
|
///// 描述
|
|
///// </summary>
|
|
//[Description("产线名称")]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 100)]
|
|
//[InputType(inputType.textArea)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string Line_name { get; set; }
|
|
|
|
///// <summary>
|
|
///// 工厂编码
|
|
///// </summary>
|
|
//[Description("车型(1位)")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 100)]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string Vehicle_type { get; set; }
|
|
///// <summary>
|
|
///// 工厂编码
|
|
///// </summary>
|
|
//[Description("车型说明")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 100)]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string VTDetail { get; set; }
|
|
///// <summary>
|
|
///// 物料号
|
|
///// </summary>
|
|
//[Description("配置、颜色(1位)")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string configColor { get; set; }
|
|
///// <summary>
|
|
///// 物料号
|
|
///// </summary>
|
|
//[Description("配置说明")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string configDetail { get; set; }
|
|
///// <summary>
|
|
///// 物料号
|
|
///// </summary>
|
|
//[Description("颜色说明")]
|
|
////[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string ColorDetail { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|