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;//详细信息 private string _en_full_name;//客户英文全称 private string _doc;//所属单证 private bool _is_agent_cn;//是否代理(国内) private bool _is_express;//是否快递公司 private bool _is_stop;//是否停用该客户信息 private string _bill_rises1;//发票抬头1 private string _bill_rises2;//发票抬头2 private string _usd_bill_rises;//美元支票抬头 private string _rmb_bill_rises;//人民币支票抬头 private string _rmb_bank;//人民币开户银行 private string _rmb_account;//人民币账户 private string _rmb_online_no;//人民币联机行号 private string _usd_bank;//美元开户银行 private string _usd_account;//美元账号 private string _usd_online_no;//美元联机行号 private string _custom_attribute1;//自定义属性1 private string _custom_attribute2;//自定义属性2 private string _FARCODE;//财务应收帐款代码 private string _FAPCODE;//财务应付帐款代码 private decimal _usd_max_amount_credit;//美元信用最大金额 private decimal _rmb_max_amount_credit;//人民币信用最大金额 private decimal _max_amount_credit;//信用最大金额(RMB+USD) private string _stl_name;//结算方式 private string _op_name;//处理人 private DateTime _op_time;//处理时间 private string _remark;//备注 private decimal _usd_exchange_rate;//美金汇率 private string _stl_date;//月结时间 private string _stl_first_half_date;//上半月结时间 private string _stl_middle_date;//下半月结时间 private string _stl_date_pj;//票结时间 private string _level;//运价级别 private string _login_name;//用户代码名 private string _login_password;//登录密码 #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; } } /// /// 客户英文全称 /// public string EnFullName { get { return _en_full_name; } set { _en_full_name = value; } } /// /// 所属单证 /// public string Doc { get { return _doc; } set { _doc = value; } } /// /// 是否代理(国内) /// public bool IsAgentCN { get { return _is_agent_cn; } set { _is_agent_cn = value; } } /// /// 是否快递公司 /// public bool IsExpress { get { return _is_express; } set { _is_express = value; } } /// /// 是否停用该客户信息 /// public bool IsStop { get { return _is_stop; } set { _is_stop = value; } } /// /// 发票抬头1 /// public string BillRises1 { get { return _bill_rises1; } set { _bill_rises1 = value; } } /// /// 发票抬头2 /// public string BillRises2 { get { return _bill_rises2; } set { _bill_rises2 = value; } } /// /// 美元支票抬头 /// public string USDBillRises { get { return _usd_bill_rises; } set { _usd_bill_rises = value; } } /// /// 人民币支票抬头 /// public string RMBBillRises { get { return _rmb_bill_rises; } set { _rmb_bill_rises = value; } } /// /// 人民币开户银行 /// public string RMBBank { get { return _rmb_bank; } set { _rmb_bank = value; } } /// /// 人民币账户 /// public string RMBAccount { get { return _rmb_account; } set { _rmb_account = value; } } /// /// 人民币联机行号 /// public string RMBOnLineNO { get { return _rmb_online_no; } set { _rmb_online_no = value; } } /// /// 美元开户银行 /// public string USDBank { get { return _usd_bank; } set { _usd_bank = value; } } /// /// 美元账号 /// public string USDAccount { get { return _usd_account; } set { _usd_account = value; } } /// /// 美元联机账号 /// public string USDOnLineNO { get { return _usd_online_no; } set { _usd_online_no = value; } } /// /// 自定义属性1 /// public string CustomAttributes1 { get { return _custom_attribute1; } set { _custom_attribute1 = value; } } /// /// 自定义属性2 /// public string CustomAttributes2 { get { return _custom_attribute2; } set { _custom_attribute2 = value; } } /// /// 财务应收帐款代码 /// public string FARCODE { get { return _FARCODE; } set { _FARCODE = value; } } /// /// 财务应付帐款代码 /// public string FAPCODE { get { return _FAPCODE; } set { _FAPCODE = value; } } /// /// 美元信用最大金额 /// public decimal USDMaxAmountCredit { get { return _usd_max_amount_credit; } set { _usd_max_amount_credit = value; } } /// /// 人民币信用最大金额 /// public decimal RMBMaxAmountCredit { get { return _rmb_max_amount_credit; } set { _rmb_max_amount_credit = value; } } /// /// 信用最大金额(RMB+USD) /// public decimal MaxAmountCredit { get { return _max_amount_credit; } set { _max_amount_credit = value; } } /// /// 结算方式 /// public string StlName { get { return _stl_name; } set { _stl_name = value; } } /// /// 处理人 /// public string OpName { get { return _op_name; } set { _op_name = value; } } /// /// 处理时间 /// public DateTime OpTime { get { return _op_time; } set { _op_time = value; } } /// /// 备注 /// public string Remark { get { return _remark; } set { _remark = value; } } /// /// 美金汇率 /// public decimal USDExchangeRate { get { return _usd_exchange_rate; } set { _usd_exchange_rate = value; } } /// /// 月结时间 /// public string StlDate { get { return _stl_date; } set { _stl_date = value; } } /// /// 上半月结时间 /// public string StlFirstHalfDate { get { return _stl_first_half_date; } set { _stl_first_half_date = value; } } /// /// 下半月结时间 /// public string StlMiddleDate { get { return _stl_middle_date; } set { _stl_middle_date = value; } } /// /// 运价级别 /// public string StlDatePJ { get { return _stl_date_pj; } set { _stl_date_pj = value; } } /// /// 运价级别 /// public string Level { get { return _level; } set { _level = value; } } /// /// 用户代码名 /// public string LoginName { get { return _login_name; } set { _login_name = value; } } /// /// 登录密码 /// public string LoginPassWord { get { return _login_password; } set { _login_password = value; } } #endregion } }