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

226 lines
8.8 KiB

using System;
using System.Data;
using System.Web.Mvc.Html;
using QMFrameWork.Data.Attributes;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.Andon
{
///</summary>
/// 模块编号:
/// 作 用:呼叫记录
/// 作 者:周晓东
/// 编写日期:2017年11月03日
///</summary>
public class CallLogModel : QDGModel
{
///<summary>
///主键
///</summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
[Description("工作中心")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100, JsonUtl = "/Dict/GetAllWorkCenterComboxSource?kind=CENTERTYPE")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string WORKCENTER_CODE { get; set; }
[Description("工作中心")]
[DGColumn(frozenColumns = true, Sortable = false, Width = 180, DataAlign = DataAlign.left)]
public string WORKCENTER_NAME { get; set; }
//[Description("工序")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
//[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
//public string WORKCELL_CODE { get; set; }
[Description("工位")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string WORKLOC_CODE { get; set; }
[Description("工位")]
[DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.left)]
public string WORKLOC_NAME { get; set; }
[Description("设备")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MACHINECODDE { get; set; }
[Description("设备")]
[DGColumn(frozenColumns = true, Sortable = false, Width = 180, DataAlign = DataAlign.left)]
public string MACHINECODDE_NAME { get; set; }
///<summary>
///维修呼叫
///质量呼叫
///物料呼叫
///</summary>
[Description("呼叫类型")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetConfigDetailComboxSource?kind=CALL_TYPE", MaxLength = 1)]
[InputType(inputType.combobox)]
public string CALL_TYPE { get; set; }
[Description("呼叫类型")]
[DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
public string CALL_TYPE_TXT { get; set; }
///<summary>
///0:正在呼叫
///1:已应答
///2:开始处理
///3:处理完成
///4:呼叫取消
///5:呼叫升级
///</summary>
[Description("呼叫状态")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=CALL_STATE", MaxLength = 1)]
[InputType(inputType.combobox)]
public string CALL_STATE { get; set; }
[Description("呼叫状态")]
[DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
public string CALL_STATE_TXT { get; set; }
///<summary>
///呼叫原因
///</summary>
[Description("呼叫原因")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CALL_REASION { get; set; }
///<summary>
///问题类型
///</summary>
[Description("问题类型")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CALL_PROBLEM { get; set; }
[Description("呼叫时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime CALL_TIME { get; set; }
[Description("呼叫时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string STARTDATE { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string ENDDATE { get; set; }
///<summary>
///应答超时分钟数
///</summary>
public int ANSWER_TIMEOUT { get; set; }
[Description("应答时间")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime? ANSWER_TIME { get; set; }
[Description("开始时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime? START_TIME { get; set; }
[Description("完成时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime? COMPLETE_TIME { get; set; }
//处理时间=START_TIME-COMPLETE_TIME
[Description("处理时间")]
[DGColumn(frozenColumns = false, Sortable = false, Width = 150, DataAlign = DataAlign.center)]
public string HANDLER_TIME { get; set; }
[Description("等级")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 50, DataAlign = DataAlign.left)]
public int CALL_LEVEL { get; set; }
///<summary>
///
///</summary>
//[DBColumn(ColumnName="HANDLER",DataType=DbType.String)]
public string HANDLER { get; set; }
[Description("处理人")]
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.left)]
public string HANDLER_NAME { get; set; }
public string SHIFT_CODE { get; set; }
[Description("班次")]
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.left)]
public string SHIFT_CODE_TXT { get; set; }
public string TEAM_CODE { get; set; }
[Description("班组")]
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.left)]
public string TEAM_CODE_TXT { get; set; }
[Description("备注")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
public string REMARK { get; set; }
[Description("工厂")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string FACTORY_CODE { get; set; }
[Description("创建人")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSER { get; set; }
[Description("创建时间")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
public DateTime CREATEDATE { get; set; }
///<summary>
///
///</summary>
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSER { get; set; }
///<summary>
///
///</summary>
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 收件人
/// </summary>
public string RECIPIENT { get; set; }
/// <summary>
/// 消息
/// </summary>
public string MESSAGE { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public string LANGUAGE { get; set; }
/// <summary>
/// 消息类型
/// </summary>
public string MESSAGE_TYPE { get; set; }
}
}