using System; using System.Data; namespace DSWeb.Models { /// /// CRM系统客户信息表 /// public class CRMClientEntity { #region 私有成员 private string _gid;//主键唯一值 private string _code_name;//客户代码 private string _short_name;//客户简称 private string _name;//客户英文名称 private string _description;//客户中文名称或者描述信息 private int _status;//客户状态 private string _address;//通讯地址 private string _email;//电子邮箱地址 private string _web_url;//网页 private string _tel_num;//电话 private string _fax;//传真 private string _chief;//负责人 private string _sale;//所属揽货人 private string _op;//所属操作 private bool _is_carrier;//是否船公司 private bool _is_booking;//是否订舱公司 private bool _is_yard;//是否场站 private bool _is_truck;//是否车队 private bool _is_controller;//是否委托单位 private bool _is_custom;//是否报关行 private bool _is_agent;//是否代理 private bool _is_airlines;//是否航空公司 private bool _is_shipper;//是否发货人 private bool _is_consignee;//是否收货人 private bool _is_notify_party;//是否通知人 private bool _is_warehouse;//是否仓库 private string _country;//国家 private string _province;//省或者州 private string _city;//城市 private string _corpid;//所属分公司代码 private string _blcontent;//详细信息 #endregion public CRMClientEntity() { } #region 读写属性 /// /// 主键唯一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 客户代码 /// public string CodeName { get { return _code_name; } set { _code_name = value; } } /// /// 客户简称 /// public string ShortName { get { return _short_name; } set { _short_name = value; } } /// /// 客户英文名称 /// public string Name { get { return _name; } set { _name = value; } } /// /// 客户中文名称或者描述信息 /// public string Description { get { return _description; } set { _description = value; } } /// /// 客户状态 /// public int Status { get { return _status; } set { _status = value; } } /// /// 通讯地址 /// public string Address { get { return _address; } set { _address = value; } } /// /// 电子邮箱地址 /// public string Email { get { return _email; } set { _email = value; } } /// /// 网页 /// public string WebUrl { get { return _web_url; } set { _web_url = value; } } /// /// 电话 /// public string TelNumber { get { return _tel_num; } set { _tel_num = value; } } /// /// 传真 /// public string Fax { get { return _fax; } set { _fax = value; } } /// /// 负责人 /// public string Chief { get { return _chief; } set { _chief = value; } } /// /// 所属揽货人 /// public string Sale { get { return _sale; } set { _sale = value; } } /// /// 所属操作 /// public string OP { get { return _op; } set { _op = value; } } /// /// 是否船公司 /// public bool IsCarrier { get { return _is_carrier; } set { _is_carrier = value; } } /// /// 是否订舱公司 /// public bool IsBooking { get { return _is_booking; } set { _is_booking = value; } } /// /// 是否场站 /// public bool IsYard { get { return _is_yard; } set { _is_yard = value; } } /// /// 是否车队 /// public bool IsTruck { get { return _is_truck; } set { _is_truck = value; } } /// /// 是否委托单位 /// public bool IsController { get { return _is_controller; } set { _is_controller = value; } } /// /// 是否报关行 /// public bool IsCustom { get { return _is_custom; } set { _is_custom = value; } } /// /// 是否代理 /// public bool IsAgent { get { return _is_agent; } set { _is_agent = value; } } /// /// 是否航空公司 /// public bool IsAirLines { get { return _is_airlines; } set { _is_airlines = value; } } /// /// 是否发货人 /// public bool IsShipper { get { return _is_shipper; } set { _is_shipper = value; } } /// /// 是否收货人 /// public bool IsConsignee { get { return _is_consignee; } set { _is_consignee = value; } } /// /// 是否通知人 /// public bool IsNotifyParty { get { return _is_notify_party; } set { _is_notify_party = value; } } /// /// 是否仓库 /// public bool IsWarehouse { get { return _is_warehouse; } set { _is_warehouse = value; } } /// /// 国家 /// public string Country { get { return _country; } set { _country = value; } } /// /// 省或者州 /// public string Province { get { return _province; } set { _province = value; } } /// /// 城市 /// public string City { get { return _city; } set { _city = value; } } /// /// 所属分公司代码 /// public string CORPID { get { return _corpid; } set { _corpid = value; } } /// /// 详细信息 /// public string Blcontent { get { return _blcontent; } set { _blcontent = value; } } #endregion } }