TG.WXCRM.V4/Model/QueryMap/ORD_MemoQuery.cs

123 lines
3.5 KiB
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.QueryMap
{
/// <summary>
/// 公共的工单类
/// </summary>
public class ORD_MemoQuery
{
[NotMapped]
public decimal MEMOID { get; set; }
[NotMapped]
public Nullable<decimal> INNERUSERID { get; set; }
[NotMapped]
public Nullable<decimal> MEMOCONTENTID { get; set; }
[NotMapped]
public string RESID { get; set; }
[NotMapped]
public Nullable<decimal> MEMOSTYLEID { get; set; }
[NotMapped]
public Nullable<decimal> MEMOTYPEID { get; set; }
[NotMapped]
public Nullable<decimal> MEMOSUBTYPEID { get; set; }
[NotMapped]
public Nullable<decimal> BUSINESSID { get; set; }
[NotMapped]
public Nullable<System.DateTime> CTIME { get; set; }
[NotMapped]
public Nullable<System.DateTime> CALLTIME { get; set; }
[NotMapped]
public Nullable<System.DateTime> CALLTIMEEND { get; set; }
/// <summary>
/// 客户姓名
/// </summary>
[NotMapped]
public string CNAME { get; set; }
/// <summary>
/// 内容
/// </summary>
[NotMapped]
public string STRCONTENT { get; set; }
/// <summary>
/// 工单类型
/// </summary>
[NotMapped]
public int MEMO_TYPE { get; set; }
[NotMapped]
public string deptCode { get; set; }
[NotMapped]
public string userName { get; set; }
//投顾下单人
[NotMapped]
public string TGsalesName { get; set; }
//投顾下单人
[NotMapped]
public decimal? TGsalesEID { get; set; }
[NotMapped]
public decimal? ExtMemoId { get; set; }
[NotMapped]
public string QW { get; set; }
[NotMapped]
public string CP { get; set; }
[NotMapped]
public string ZHIBO { get; set; }
[NotMapped]
public string ZHIBOTXT { get; set; }
[NotMapped]
public string MYD { get; set; }
[NotMapped]
public string MYDTXT { get; set; }
}
public class ORD_MemoView
{
public ORD_MemoView(decimal mEMOID, string tYPENAME, string sUBTYPENAME, string sTRCONTENT, string iNNERUSERNAME, string cTIME)
{
MEMOID = mEMOID;
TYPENAME = tYPENAME;
SUBTYPENAME = sUBTYPENAME;
STRCONTENT = sTRCONTENT;
INNERUSERNAME = iNNERUSERNAME;
CTIME = cTIME;
}
public decimal MEMOID { get; set; }
public string TYPENAME { get; set; }
public string SUBTYPENAME { get; set; }
public string STRCONTENT { get; set; }
public string INNERUSERNAME { get; set; }
public string CTIME { get; set; }
}
public class ord_memoExport
{
////主客户ID
//[NotMapped] public string customerid { get; set; }
//客户ID
[NotMapped]
public string resid { get; set; }
//其他相关客户ID
[NotMapped]
public string otherResid { get; set; }
//资源归属
[NotMapped]
public string resAscription { get; set; }
[NotMapped]
public string name { get; set; }
[NotMapped]
public DateTime? ctime { get; set; }
[NotMapped]
public DateTime? callTime { get; set; }
[NotMapped]
public decimal? innerUserId { get; set; }
}
}