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

215 lines
6.3 KiB

using System;
using System.Data;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
namespace QMAPP.FJC.Entity.Andon
{
///</summary>
/// 模块编号:
/// 作 用:呼叫记录
/// 作 者:周晓东
/// 编写日期:2017年11月03日
///</summary>
[DBTable(TableName = "T_AD_CALLLOG")]
public class CallLogEntity:BaseEntity
{
///<summary>
///
///</summary>
[DBColumn(ColumnName="PID",DataType=DbType.String,IsKey=true)]
public string PID { get; set; }
///<summary>
///维修呼叫
///质量呼叫
///物料呼叫
///</summary>
[DBColumn(ColumnName="CALL_TYPE",DataType=DbType.String)]
public string CALL_TYPE { get; set; }
public string CALL_TYPE_TXT { get; set; }
///<summary>
///电表
///水表
///气表
///</summary>
[DBColumn(ColumnName="CALL_REASION",DataType=DbType.String)]
public string CALL_REASION { get; set; }
//问题类型
[DBColumn(ColumnName = "CALL_PROBLEM", DataType = DbType.String)]
public string CALL_PROBLEM { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="FACTORY_CODE",DataType=DbType.String)]
public string FACTORY_CODE { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="WORKLOC_CODE",DataType=DbType.String)]
public string WORKLOC_CODE { get; set; }
public string WORKLOC_NAME { get; set; }
[DBColumn(ColumnName = "WORKCENTER_CODE", DataType = DbType.String)]
public string WORKCENTER_CODE { get; set; }
public string WORKCENTER_NAME { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="CALL_TIME",DataType=DbType.DateTime)]
public DateTime CALL_TIME { get; set; }
public string STARTDATE { get; set; }
public string ENDDATE { get; set; }
///<summary>
///应答超时分钟数
///</summary>
public int ANSWER_TIMEOUT { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="ANSWER_TIME",DataType=DbType.DateTime)]
public DateTime? ANSWER_TIME { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="START_TIME",DataType=DbType.DateTime)]
public DateTime? START_TIME { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="COMPLETE_TIME",DataType=DbType.DateTime)]
public DateTime? COMPLETE_TIME { get; set; }
//处理时间=START_TIME-COMPLETE_TIME
public string HANDLER_TIME { get; set; }
///<summary>
///0:正在呼叫
///1:已应答
///2:开始处理
///3:处理完成
///4:呼叫取消
///5:呼叫升级
///</summary>
[DBColumn(ColumnName="CALL_STATE",DataType=DbType.String)]
public string CALL_STATE { get; set; }
//显示状态的文本信息
public string CALL_STATE_TXT { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="CALL_LEVEL", DataType=DbType.Int32)]
public int CALL_LEVEL { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="HANDLER",DataType=DbType.String)]
public string HANDLER { get; set; }
public string HANDLER_NAME { get; set; }
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
public string MACHINECODDE { get; set; }
public string MACHINECODDE_NAME { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="SHIFT_CODE",DataType=DbType.String)]
public string SHIFT_CODE { get; set; }
public string SHIFT_CODE_TXT { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="TEAM_CODE",DataType=DbType.String)]
public string TEAM_CODE { get; set; }
public string TEAM_CODE_TXT { get; set; }
///<summary>
///描述
///</summary>
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="CREATEUSER",DataType=DbType.String)]
public string CREATEUSER { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="CREATEDATE",DataType=DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="UPDATEUSER",DataType=DbType.String)]
public string UPDATEUSER { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName="UPDATEDATE",DataType=DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
//[Description("呼叫次数")]
public int CALL_COUNT { get; set; }
//[Description("读取设备表")]
public string isFirst { 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; }
public string TableName { get; set; }
}
}