You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

301 lines
7.8 KiB
C#

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