ComplianceServer/oldcode/Model/MAP/RES_CUSTOMER.cs

236 lines
6.5 KiB
C#

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
public partial class RES_CUSTOMER
{
[DisplayName("联系号码")]
[NotMapped]
public string map_MOBILE { get; set; }
[DisplayName("客户编号")]
[NotMapped]
public string map_ResId
{
get { return this.RES_CUSTOMERDETAIL.RESID; }
set { this.RES_CUSTOMERDETAIL.RESID = value; }
}
[DisplayName("姓名")]
[StringLength(30)]
[NotMapped]
public string map_CNAME
{
//get { return this.RES_CUSTOMERDETAIL.CNAME; }
//set { this.RES_CUSTOMERDETAIL.CNAME = value; }
get;
set;
}
[DisplayName("性别")]
[NotMapped]
public string map_GENDER
{
get { return this.RES_CUSTOMERDETAIL.GENDER; }
set { this.RES_CUSTOMERDETAIL.GENDER = value; }
}
[DisplayName("客户类型")]
[NotMapped]
public string map_CUSTOMERTYPEID
{
get { return this.RES_CUSTOMERDETAIL.CUSTOMERTYPEID; }
set { this.RES_CUSTOMERDETAIL.CUSTOMERTYPEID = value; }
}
[DisplayName("资金量")]
[NotMapped]
public string map_AMOUNTTYPEID
{
get { return this.RES_CUSTOMERDETAIL.AMOUNTTYPEID; }
set { this.RES_CUSTOMERDETAIL.AMOUNTTYPEID = value; }
}
[DisplayName("职业")]
[NotMapped]
public string map_JOBTYPEID
{
get { return this.RES_CUSTOMERDETAIL.JOBTYPEID; }
set { this.RES_CUSTOMERDETAIL.JOBTYPEID = value; }
}
[DisplayName("操作风格")]
[NotMapped]
public string map_OPERATIONTYPE
{
get { return this.RES_CUSTOMERDETAIL.OPERATIONTYPE; }
set { this.RES_CUSTOMERDETAIL.OPERATIONTYPE = value; }
}
[DisplayName("客户来源")]
[NotMapped]
public string map_CUSTOMERFROM
{
get { return this.CUSTOMERFROM; }
set { this.CUSTOMERFROM = value; }
}
[DisplayName("邮箱")]
[NotMapped]
public string map_EMAIL
{
get { return this.RES_CUSTOMERDETAIL.EMAIL; }
set { this.RES_CUSTOMERDETAIL.EMAIL = value; }
}
[DisplayName("QQ")]
[NotMapped]
public string map_QQ
{
get { return this.RES_CUSTOMERDETAIL.QQ; }
set { this.RES_CUSTOMERDETAIL.QQ = value; }
}
[DisplayName("MSN")]
[NotMapped]
public string map_MSN
{
get { return this.RES_CUSTOMERDETAIL.MSN; }
set { this.RES_CUSTOMERDETAIL.MSN = value; }
}
[DisplayName("传真")]
[NotMapped]
public string map_FAX
{
get { return this.RES_CUSTOMERDETAIL.FAX; }
set { this.RES_CUSTOMERDETAIL.FAX = value; }
}
[DisplayName("省")]
[NotMapped]
public decimal? map_PROVINCEID
{
get { return this.RES_CUSTOMERDETAIL.PROVINCEID; }
set { this.RES_CUSTOMERDETAIL.PROVINCEID = value; }
}
[DisplayName("市")]
[NotMapped]
public decimal? map_CITY
{
get { return this.RES_CUSTOMERDETAIL.CITYID; }
set { this.RES_CUSTOMERDETAIL.CITYID = value; }
}
[DisplayName("地址")]
[NotMapped]
public string map_ADDRESS
{
get { return this.RES_CUSTOMERDETAIL.ADDRESS; }
set { this.RES_CUSTOMERDETAIL.ADDRESS = value; }
}
[DisplayName("地址组合")]
[NotMapped]
public string map_ADDRESS_ALL
{
get; set;
}
[DisplayName("主号码地区")]
[NotMapped]
public string map_PRIMARYNUMBERADDRESS
{
get { return this.RES_CUSTOMERDETAIL.PRIMARYNUMBERADDRESS; }
set { this.RES_CUSTOMERDETAIL.PRIMARYNUMBERADDRESS = value; }
}
[DisplayName("修改操作人")]
[NotMapped]
public decimal? map_UPDATEUSER
{
get { return this.RES_CUSTOMERDETAIL.UPDATEUSER; }
set { this.RES_CUSTOMERDETAIL.UPDATEUSER = value; }
}
[DisplayName("注册时间")]
[NotMapped]
public Nullable<System.DateTime> map_CTIME
{
get { return this.CTIME; }
set { this.CTIME = value; }
}
[DisplayName("生日")]
[NotMapped]
public DateTime? map_BIRTHDAY
{
get { return this.RES_CUSTOMERDETAIL.BIRTHDAY; }
set { this.RES_CUSTOMERDETAIL.BIRTHDAY = value; }
}
[DisplayName("区域")]
[NotMapped]
public string map_MobileArea { get; set; }
[NotMapped]
public bool IsVip { get; set; }
[DisplayName("客户分类")]
[NotMapped]
public string map_CustomerCategory
{
get { return this.RES_CUSTOMERDETAIL.CUSTOMERCATEGORY; }
set { this.RES_CUSTOMERDETAIL.CUSTOMERCATEGORY = value; }
}
/// <summary>
/// 所有的订单产品
/// </summary>
[NotMapped]
public string map_OrderStr { get; set; }
/// <summary>
/// 所有的订单产品
/// </summary>
[NotMapped]
public string map_LastSericeStaff { get; set; }
/// <summary>
/// 所有的订单产品
/// </summary>
[NotMapped]
public string map_BIRTHDAYAREASTR { get; set; }
[NotMapped]
public string map_LastLoginTime { get; set; }
[NotMapped]
public string map_OpenrationTypeStr { get; set; }
[DisplayName("是否绑定客服")]
[NotMapped]
public int? isBound
{
get;
set;
}
}
[NotMapped]
public class RES_CUSTOMER_Extend : RES_CUSTOMER
{
public RES_CUSTOMER_Extend()
{
new RES_CUSTOMER();
}
[DisplayName("账户余额")]
[NotMapped]
public decimal? map_CACCOUNT
{
get;
set;
}
[DisplayName("省")]
[NotMapped]
public string map_PROVINCE
{
get;
set;
}
[DisplayName("市")]
[NotMapped]
public string map_GETCITY
{
get;
set;
}
}
}