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

122 lines
3.7 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.MD.Web.Models
{
public class UserWithMachineModel : QDGModel
{
/// <summary>
/// 主键
/// </summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true)]
public string PID { get; set; }
/// <summary>
/// 用户主键
/// </summary>
[Description("用户名")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.combobox)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string USERID { get; set; }
/// <summary>
/// 用户名称
/// </summary>
[Description("用户名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string USERNAME { get; set; }
/// <summary>
/// 用户编号
/// </summary>
[Description("用户编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string USERCODE { get; set; }
/// <summary>
/// 设备主键
/// </summary>
[Description("设备编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.combobox)]
public string MACHINEID { get; set; }
public string MACHINENAME { get; set; }
public string MACHINECODDE { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { 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("更新用户")]
//[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSERNAME { 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>
/// 设备id
/// </summary>
[Description("设备id")]
public string MachineIds { get; set; }
/// <summary>
/// 编辑标记
/// </summary>
[Description("编辑标记")]
public string EDITFLAG { get; set; }
}
}