天津投入产出系统后端
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.

66 lines
2.1 KiB

3 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>
/// 模块名称 生产配置
/// 作 者 张松男
/// 编写日期 2021年09月06日
/// </summary>
public class AppConfigModel : QDGModel
{
/// <summary>
/// 条码格式规则主键
/// </summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string ID { get; set; }
/// <summary>
/// 唯一编码
/// </summary>
[Description("唯一编码")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string Code { get; set; }
/// <summary>
/// 名称
/// </summary>
[Description("名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 300)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string Name { get; set; }
/// <summary>
/// 值
/// </summary>
[Description("值")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string Value { get; set; }
/// <summary>
/// 描述
/// </summary>
[Description("描述")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string Remark { get; set; }
}
}