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.
117 lines
4.3 KiB
117 lines
4.3 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
|
||
|
{
|
||
|
/// </summary>
|
||
|
/// 模块名称:BZD条码记录
|
||
|
/// 作 者:宁红钢
|
||
|
/// 编写日期:2020年04月29日
|
||
|
/// </summary>
|
||
|
public class BZDRecorderModel : QDGModel
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 条码格式规则主键
|
||
|
/// </summary>
|
||
|
[Description("主键")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 正则表达式
|
||
|
/// </summary>
|
||
|
[Description("物料PID")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string MPID { get; set; }
|
||
|
/// <summary>
|
||
|
/// 描述
|
||
|
/// </summary>
|
||
|
[Description("公司编码")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string Company_code { get; set; }
|
||
|
/// <summary>
|
||
|
/// 描述
|
||
|
/// </summary>
|
||
|
[Description("公司名称")]
|
||
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 300)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
|
||
|
public string Company_name { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 描述
|
||
|
/// </summary>
|
||
|
[Description("产线代码")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Hidden = 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.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string Line_name { get; set; }
|
||
|
/// <summary>
|
||
|
/// 物料类型
|
||
|
/// </summary>
|
||
|
[Description("BZD条码")]
|
||
|
//[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 BZDCODE { 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 PRODUCTCODE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 数据类型
|
||
|
/// </summary>
|
||
|
[Description("流水号")]
|
||
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string Sequence { 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; }
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|