|
|
using System;
|
|
|
using HcUtility.Core;
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsExchangesUnit
|
|
|
{
|
|
|
[JsonObject]
|
|
|
public class MsExchangesUnitEntity : ModelObjectBillHead
|
|
|
{
|
|
|
#region 属性
|
|
|
//private string _BSNO = "topother" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
|
private string _gid = "*";
|
|
|
/// <summary>
|
|
|
/// GID
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
public string GID
|
|
|
{
|
|
|
get { return _gid; }
|
|
|
set { _gid = value; }
|
|
|
}
|
|
|
private string _codename = "";
|
|
|
/// <summary>
|
|
|
/// 客户代码
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CODENAME
|
|
|
{
|
|
|
get { return _codename; }
|
|
|
set { _codename = value; }
|
|
|
}
|
|
|
|
|
|
private string _shortname = "";
|
|
|
/// <summary>
|
|
|
/// 客户简称
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SHORTNAME
|
|
|
{
|
|
|
get { return _shortname; }
|
|
|
set { _shortname = value; }
|
|
|
}
|
|
|
|
|
|
private string _description = "";
|
|
|
/// <summary>
|
|
|
/// 客户中文名称或描述信息
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string DESCRIPTION
|
|
|
{
|
|
|
get { return _description; }
|
|
|
set { _description = value; }
|
|
|
}
|
|
|
|
|
|
private string _name = "";
|
|
|
/// <summary>
|
|
|
/// 客户英文简称
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string NAME
|
|
|
{
|
|
|
get { return _name; }
|
|
|
set { _name = value; }
|
|
|
}
|
|
|
|
|
|
private string _enfullname = "";
|
|
|
/// <summary>
|
|
|
/// 客户英文全称
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EnFullName
|
|
|
{
|
|
|
get { return _enfullname; }
|
|
|
set { _enfullname = value; }
|
|
|
}
|
|
|
|
|
|
private int _status = 0;
|
|
|
/// <summary>
|
|
|
/// 客户状态
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int STATUS
|
|
|
{
|
|
|
get { return _status; }
|
|
|
set { _status = value; }
|
|
|
}
|
|
|
|
|
|
private string _addr = "";
|
|
|
/// <summary>
|
|
|
/// 通讯地址
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ADDR
|
|
|
{
|
|
|
get { return _addr; }
|
|
|
set { _addr = value; }
|
|
|
}
|
|
|
|
|
|
private string _email = "";
|
|
|
/// <summary>
|
|
|
/// 邮箱
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EMAIL
|
|
|
{
|
|
|
get { return _email; }
|
|
|
set { _email = value; }
|
|
|
}
|
|
|
|
|
|
private string _web = "";
|
|
|
/// <summary>
|
|
|
/// 网页
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string WEB
|
|
|
{
|
|
|
get { return _web; }
|
|
|
set { _web = value; }
|
|
|
}
|
|
|
|
|
|
private string _tel = "";
|
|
|
/// <summary>
|
|
|
/// 电话
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string TEL
|
|
|
{
|
|
|
get { return _tel; }
|
|
|
set { _tel = value; }
|
|
|
}
|
|
|
|
|
|
private string _fax = "";
|
|
|
/// <summary>
|
|
|
/// 传真
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string FAX
|
|
|
{
|
|
|
get { return _fax; }
|
|
|
set { _fax = value; }
|
|
|
}
|
|
|
|
|
|
private string _chief = "";
|
|
|
/// <summary>
|
|
|
/// 负责人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CHIEF
|
|
|
{
|
|
|
get { return _chief; }
|
|
|
set { _chief = value; }
|
|
|
}
|
|
|
|
|
|
private string _sale = "";
|
|
|
/// <summary>
|
|
|
/// 所属揽货人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SALE
|
|
|
{
|
|
|
get { return _sale; }
|
|
|
set { _sale = value; }
|
|
|
}
|
|
|
|
|
|
private string _op = "";
|
|
|
/// <summary>
|
|
|
/// 所属揽货人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string OP
|
|
|
{
|
|
|
get { return _op; }
|
|
|
set { _op = value; }
|
|
|
}
|
|
|
|
|
|
private string _doc = "";
|
|
|
/// <summary>
|
|
|
/// 所属单证
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string DOC
|
|
|
{
|
|
|
get { return _doc; }
|
|
|
set { _doc = value; }
|
|
|
}
|
|
|
|
|
|
private bool _iscarrier = false;
|
|
|
/// <summary>
|
|
|
/// 是否船公司
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISCARRIER
|
|
|
{
|
|
|
get { return _iscarrier; }
|
|
|
set { _iscarrier = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isbooking = false;
|
|
|
/// <summary>
|
|
|
/// 是否订舱公司
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISBOOKING
|
|
|
{
|
|
|
get { return _isbooking; }
|
|
|
set { _isbooking = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isyard = false;
|
|
|
/// <summary>
|
|
|
/// 是否场站
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISYARD
|
|
|
{
|
|
|
get { return _isyard; }
|
|
|
set { _isyard = value; }
|
|
|
}
|
|
|
|
|
|
private bool _istruck = false;
|
|
|
/// <summary>
|
|
|
/// 是否车队
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISTRUCK
|
|
|
{
|
|
|
get { return _istruck; }
|
|
|
set { _istruck = value; }
|
|
|
}
|
|
|
|
|
|
private bool _iscontroller = false;
|
|
|
/// <summary>
|
|
|
/// 是否委托单位
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISCONTROLLER
|
|
|
{
|
|
|
get { return _iscontroller; }
|
|
|
set { _iscontroller = value; }
|
|
|
}
|
|
|
|
|
|
private bool _iscustom = false;
|
|
|
/// <summary>
|
|
|
/// 是否报关行
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISCUSTOM
|
|
|
{
|
|
|
get { return _iscustom; }
|
|
|
set { _iscustom = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isagent = false;
|
|
|
/// <summary>
|
|
|
/// 是否代理(国外)
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISAGENT
|
|
|
{
|
|
|
get { return _isagent; }
|
|
|
set { _isagent = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isagentcn = false;
|
|
|
/// <summary>
|
|
|
/// 是否代理(国内)
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISAGENTCN
|
|
|
{
|
|
|
get { return _isagentcn; }
|
|
|
set { _isagentcn = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isexpress = false;
|
|
|
/// <summary>
|
|
|
/// 是否快递公司
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISEXPRESS
|
|
|
{
|
|
|
get { return _isexpress; }
|
|
|
set { _isexpress = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isairlines = false;
|
|
|
/// <summary>
|
|
|
/// 是否航空公司
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISAIRLINES
|
|
|
{
|
|
|
get { return _isairlines; }
|
|
|
set { _isairlines = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isshipper = false;
|
|
|
/// <summary>
|
|
|
/// 是否发货人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISSHIPPER
|
|
|
{
|
|
|
get { return _isshipper; }
|
|
|
set { _isshipper = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isconsignee = false;
|
|
|
/// <summary>
|
|
|
/// 是否收货人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISCONSIGNEE
|
|
|
{
|
|
|
get { return _isconsignee; }
|
|
|
set { _isconsignee = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isnotifyparty = false;
|
|
|
/// <summary>
|
|
|
/// 是否通知人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISNOTIFYPARTY
|
|
|
{
|
|
|
get { return _isnotifyparty; }
|
|
|
set { _isnotifyparty = value; }
|
|
|
}
|
|
|
|
|
|
private bool _iswarehouse = false;
|
|
|
/// <summary>
|
|
|
/// 是否仓库
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISWAREHOUSE
|
|
|
{
|
|
|
get { return _iswarehouse; }
|
|
|
set { _iswarehouse = value; }
|
|
|
}
|
|
|
|
|
|
private string _country = "";
|
|
|
/// <summary>
|
|
|
/// 国家
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string COUNTRY
|
|
|
{
|
|
|
get { return _country; }
|
|
|
set { _country = value; }
|
|
|
}
|
|
|
|
|
|
private string _province = "";
|
|
|
/// <summary>
|
|
|
/// 省或州
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string PROVINCE
|
|
|
{
|
|
|
get { return _province; }
|
|
|
set { _province = value; }
|
|
|
}
|
|
|
|
|
|
private string _city = "";
|
|
|
/// <summary>
|
|
|
/// 城市
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CITY
|
|
|
{
|
|
|
get { return _city; }
|
|
|
set { _city = value; }
|
|
|
}
|
|
|
|
|
|
private string _corpid = "";
|
|
|
/// <summary>
|
|
|
/// CORPID
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public string CORPID
|
|
|
{
|
|
|
get { return _corpid; }
|
|
|
set { _corpid = value; }
|
|
|
}
|
|
|
|
|
|
private string _blcontent = "";
|
|
|
/// <summary>
|
|
|
/// BLCONTENT
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BLCONTENT
|
|
|
{
|
|
|
get { return _blcontent; }
|
|
|
set { _blcontent = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isstop = false;
|
|
|
/// <summary>
|
|
|
/// 是否停用该客户信息
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISSTOP
|
|
|
{
|
|
|
get { return _isstop; }
|
|
|
set { _isstop = value; }
|
|
|
}
|
|
|
|
|
|
private string _billrises1 = "";
|
|
|
/// <summary>
|
|
|
/// 发票抬头1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BillRises1
|
|
|
{
|
|
|
get { return _billrises1; }
|
|
|
set { _billrises1 = value; }
|
|
|
}
|
|
|
|
|
|
private string _billrises2 = "";
|
|
|
/// <summary>
|
|
|
/// 发票抬头2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BillRises2
|
|
|
{
|
|
|
get { return _billrises2; }
|
|
|
set { _billrises2 = value; }
|
|
|
}
|
|
|
|
|
|
private string _usdbillrises = "";
|
|
|
/// <summary>
|
|
|
/// 美元支票抬头
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string USDBillRises
|
|
|
{
|
|
|
get { return _usdbillrises; }
|
|
|
set { _usdbillrises = value; }
|
|
|
}
|
|
|
|
|
|
private string _rmbbillrises = "";
|
|
|
/// <summary>
|
|
|
/// 人民币支票抬头
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RMBBillRises
|
|
|
{
|
|
|
get { return _rmbbillrises; }
|
|
|
set { _rmbbillrises = value; }
|
|
|
}
|
|
|
|
|
|
private string _rmbbank = "";
|
|
|
/// <summary>
|
|
|
/// 人民币开户银行
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RMBBank
|
|
|
{
|
|
|
get { return _rmbbank; }
|
|
|
set { _rmbbank = value; }
|
|
|
}
|
|
|
|
|
|
private string _rmbaccount = "";
|
|
|
/// <summary>
|
|
|
/// 人民币账号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RMBAccount
|
|
|
{
|
|
|
get { return _rmbaccount; }
|
|
|
set { _rmbaccount = value; }
|
|
|
}
|
|
|
|
|
|
private string _rmbonlineno = "";
|
|
|
/// <summary>
|
|
|
/// 人民币联机行号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RMBOnlineNO
|
|
|
{
|
|
|
get { return _rmbonlineno; }
|
|
|
set { _rmbonlineno = value; }
|
|
|
}
|
|
|
|
|
|
private string _usdbank = "";
|
|
|
/// <summary>
|
|
|
/// 美元开户银行
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string USDBank
|
|
|
{
|
|
|
get { return _usdbank; }
|
|
|
set { _usdbank = value; }
|
|
|
}
|
|
|
|
|
|
private string _usdaccount = "";
|
|
|
/// <summary>
|
|
|
/// 美元账号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string USDAccount
|
|
|
{
|
|
|
get { return _usdaccount; }
|
|
|
set { _usdaccount = value; }
|
|
|
}
|
|
|
|
|
|
private string _usdonlineno = "";
|
|
|
/// <summary>
|
|
|
/// 美元联机行号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string USDOnlineNO
|
|
|
{
|
|
|
get { return _usdonlineno; }
|
|
|
set { _usdonlineno = value; }
|
|
|
}
|
|
|
|
|
|
private string _customattributes1 = "";
|
|
|
/// <summary>
|
|
|
/// 自定义属性1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CustomAttributes1
|
|
|
{
|
|
|
get { return _customattributes1; }
|
|
|
set { _customattributes1 = value; }
|
|
|
}
|
|
|
|
|
|
private string _customattributes2 = "";
|
|
|
/// <summary>
|
|
|
/// 自定义属性2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CustomAttributes2
|
|
|
{
|
|
|
get { return _customattributes2; }
|
|
|
set { _customattributes2 = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _usdmaxamountcredit = 0;
|
|
|
/// <summary>
|
|
|
/// 美元信用最大金额
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal USDMaxAmountCredit
|
|
|
{
|
|
|
get { return _usdmaxamountcredit; }
|
|
|
set { _usdmaxamountcredit = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _rmbmaxamountcredit = 0;
|
|
|
/// <summary>
|
|
|
/// 人民币信用最大金额
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal RMBMaxAmountCredit
|
|
|
{
|
|
|
get { return _rmbmaxamountcredit; }
|
|
|
set { _rmbmaxamountcredit = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _maxamountcredit = 0;
|
|
|
/// <summary>
|
|
|
/// 信用最大金额(RMB+USD)
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal MaxAmountCredit
|
|
|
{
|
|
|
get { return _maxamountcredit; }
|
|
|
set { _maxamountcredit = value; }
|
|
|
}
|
|
|
|
|
|
private string _stlname = "";
|
|
|
/// <summary>
|
|
|
/// 结算方式编码
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string STLNAME
|
|
|
{
|
|
|
get { return _stlname; }
|
|
|
set { _stlname = value; }
|
|
|
}
|
|
|
|
|
|
private string _opname = "";
|
|
|
/// <summary>
|
|
|
/// 处理人
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public string OPNAME
|
|
|
{
|
|
|
get { return _opname; }
|
|
|
set { _opname = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _optime = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// 处理时间
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public DateTime OPTIME
|
|
|
{
|
|
|
get { return _optime; }
|
|
|
set { _optime = value; }
|
|
|
}
|
|
|
|
|
|
private string _remark = "";
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string REMARK
|
|
|
{
|
|
|
get { return _remark; }
|
|
|
set { _remark = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _usdexchangerate = 0;
|
|
|
/// <summary>
|
|
|
/// 美金汇率
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal USDExchangeRate
|
|
|
{
|
|
|
get { return _usdexchangerate; }
|
|
|
set { _usdexchangerate = value; }
|
|
|
}
|
|
|
|
|
|
private string _stldate = "";
|
|
|
/// <summary>
|
|
|
/// 月结算时间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string STLDATE
|
|
|
{
|
|
|
get { return _stldate; }
|
|
|
set { _stldate = value; }
|
|
|
}
|
|
|
|
|
|
private string _stlfirsthalfdate = "";
|
|
|
/// <summary>
|
|
|
/// 上半月结算时间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string STLFIRSTHALFDATE
|
|
|
{
|
|
|
get { return _stlfirsthalfdate; }
|
|
|
set { _stlfirsthalfdate = value; }
|
|
|
}
|
|
|
|
|
|
private string _stlmiddledate = "";
|
|
|
/// <summary>
|
|
|
/// 下半月结算时间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string STLMIDDLEDATE
|
|
|
{
|
|
|
get { return _stlmiddledate; }
|
|
|
set { _stlmiddledate = value; }
|
|
|
}
|
|
|
|
|
|
private string _stldatepj = "";
|
|
|
/// <summary>
|
|
|
/// STLDATEPJ
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string STLDATEPJ
|
|
|
{
|
|
|
get { return _stldatepj; }
|
|
|
set { _stldatepj = value; }
|
|
|
}
|
|
|
|
|
|
private string _level = "";
|
|
|
/// <summary>
|
|
|
/// LEVEL
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string LEVEL
|
|
|
{
|
|
|
get { return _level; }
|
|
|
set { _level = value; }
|
|
|
}
|
|
|
|
|
|
private string _loginname = "";
|
|
|
/// <summary>
|
|
|
/// LOGINNAME
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string LOGINNAME
|
|
|
{
|
|
|
get { return _loginname; }
|
|
|
set { _loginname = value; }
|
|
|
}
|
|
|
|
|
|
private string _loginpassword = "";
|
|
|
/// <summary>
|
|
|
/// LOGINPASSWORD
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string LOGINPASSWORD
|
|
|
{
|
|
|
get { return _loginpassword; }
|
|
|
set { _loginpassword = value; }
|
|
|
}
|
|
|
|
|
|
private string _qq = "";
|
|
|
/// <summary>
|
|
|
/// QQ
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string QQ
|
|
|
{
|
|
|
get { return _qq; }
|
|
|
set { _qq = value; }
|
|
|
}
|
|
|
|
|
|
private string _msn = "";
|
|
|
/// <summary>
|
|
|
/// MSN
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MSN
|
|
|
{
|
|
|
get { return _msn; }
|
|
|
set { _msn = value; }
|
|
|
}
|
|
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
|
/// <summary>
|
|
|
/// MODIFIEDUSERNAME
|
|
|
/// </summary>
|
|
|
public string MODIFIEDUSERNAME
|
|
|
{
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
}
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
/// <summary>
|
|
|
/// MODIFIEDUSER
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MODIFIEDUSER
|
|
|
{
|
|
|
get { return _modifieduser; }
|
|
|
set { _modifieduser = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// MODIFIEDTIME
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public DateTime MODIFIEDTIME
|
|
|
{
|
|
|
get { return _modifiedtime; }
|
|
|
set { _modifiedtime = value; }
|
|
|
}
|
|
|
|
|
|
private bool _iswharf = false;
|
|
|
/// <summary>
|
|
|
/// ISWHARF
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISWHARF
|
|
|
{
|
|
|
get { return _iswharf; }
|
|
|
set { _iswharf = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isshippingagent = false;
|
|
|
/// <summary>
|
|
|
/// ISSHIPPINGAGENT
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISSHIPPINGAGENT
|
|
|
{
|
|
|
get { return _isshippingagent; }
|
|
|
set { _isshippingagent = value; }
|
|
|
}
|
|
|
|
|
|
private string _farcode = "";
|
|
|
/// <summary>
|
|
|
/// FARCODE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string FARCODE
|
|
|
{
|
|
|
get { return _farcode; }
|
|
|
set { _farcode = value; }
|
|
|
}
|
|
|
|
|
|
private string _fapcode = "";
|
|
|
/// <summary>
|
|
|
/// FAPCODE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string FAPCODE
|
|
|
{
|
|
|
get { return _fapcode; }
|
|
|
set { _fapcode = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isinsure = false;
|
|
|
/// <summary>
|
|
|
/// ISINSURE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISINSURE
|
|
|
{
|
|
|
get { return _isinsure; }
|
|
|
set { _isinsure = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isleasing = false;
|
|
|
/// <summary>
|
|
|
/// ISLEASING
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISLEASING
|
|
|
{
|
|
|
get { return _isleasing; }
|
|
|
set { _isleasing = value; }
|
|
|
}
|
|
|
|
|
|
private bool _istradingagency = false;
|
|
|
/// <summary>
|
|
|
/// ISTRADINGAGENCY
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISTRADINGAGENCY
|
|
|
{
|
|
|
get { return _istradingagency; }
|
|
|
set { _istradingagency = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isother = false;
|
|
|
/// <summary>
|
|
|
/// ISOTHER
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISOTHER
|
|
|
{
|
|
|
get { return _isother; }
|
|
|
set { _isother = value; }
|
|
|
}
|
|
|
|
|
|
private string _others = "";
|
|
|
/// <summary>
|
|
|
/// OTHERS
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string OTHERS
|
|
|
{
|
|
|
get { return _others; }
|
|
|
set { _others = value; }
|
|
|
}
|
|
|
|
|
|
private string _unitprice = "0";
|
|
|
/// <summary>
|
|
|
/// UNITPRICE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string UNITPRICE
|
|
|
{
|
|
|
get { return _unitprice; }
|
|
|
set { _unitprice = value; }
|
|
|
}
|
|
|
|
|
|
private string _registrationno = "";
|
|
|
/// <summary>
|
|
|
/// REGISTRATIONNO
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string REGISTRATIONNO
|
|
|
{
|
|
|
get { return _registrationno; }
|
|
|
set { _registrationno = value; }
|
|
|
}
|
|
|
|
|
|
private string _orderno = "";
|
|
|
/// <summary>
|
|
|
/// ORDERNO
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ORDERNO
|
|
|
{
|
|
|
get { return _orderno; }
|
|
|
set { _orderno = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isenterp = false;
|
|
|
/// <summary>
|
|
|
/// ISENTERP
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISENTERP
|
|
|
{
|
|
|
get { return _isenterp; }
|
|
|
set { _isenterp = value; }
|
|
|
}
|
|
|
|
|
|
private string _taxno = "";
|
|
|
/// <summary>
|
|
|
/// TAXNO
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string TAXNO
|
|
|
{
|
|
|
get { return _taxno; }
|
|
|
set { _taxno = value; }
|
|
|
}
|
|
|
|
|
|
private string _edicode = "";
|
|
|
/// <summary>
|
|
|
/// EDICODE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EDICODE
|
|
|
{
|
|
|
get { return _edicode; }
|
|
|
set { _edicode = value; }
|
|
|
}
|
|
|
|
|
|
private string _edicode2 = "";
|
|
|
/// <summary>
|
|
|
/// EDICODE2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EDICODE2
|
|
|
{
|
|
|
get { return _edicode2; }
|
|
|
set { _edicode2 = value; }
|
|
|
}
|
|
|
|
|
|
private string _edicode3 = "";
|
|
|
/// <summary>
|
|
|
/// EDICODE3
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EDICODE3
|
|
|
{
|
|
|
get { return _edicode3; }
|
|
|
set { _edicode3 = value; }
|
|
|
}
|
|
|
|
|
|
private string _ORGANIZATIONCODE = "";
|
|
|
/// <summary>
|
|
|
/// 组织机构代码
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ORGANIZATIONCODE
|
|
|
{
|
|
|
get { return _ORGANIZATIONCODE; }
|
|
|
set { _ORGANIZATIONCODE = value; }
|
|
|
}
|
|
|
|
|
|
private string _RMBBankAddress = "";
|
|
|
/// <summary>
|
|
|
/// 人民币开户行地址
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RMBBankAddress
|
|
|
{
|
|
|
get { return _RMBBankAddress; }
|
|
|
set { _RMBBankAddress = value; }
|
|
|
}
|
|
|
|
|
|
private string _USDBankAddress = "";
|
|
|
/// <summary>
|
|
|
/// 美元开户行地址
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string USDBankAddress
|
|
|
{
|
|
|
get { return _USDBankAddress; }
|
|
|
set { _USDBankAddress = value; }
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
public MsExchangesUnitEntity()
|
|
|
{
|
|
|
TableName = "info_client";
|
|
|
}
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
{
|
|
|
return "GID";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[JsonObject]
|
|
|
public class MsExchangesUnitContactEntity : ModelObjectBillHead
|
|
|
{
|
|
|
#region 属性
|
|
|
//private string _BSNO = "topother" + Guid.NewGuid().ToString();//业务编号
|
|
|
private string _gid = "*";
|
|
|
/// <summary>
|
|
|
/// 惟一编号
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
public string GID
|
|
|
{
|
|
|
get { return _gid; }
|
|
|
set { _gid = value; }
|
|
|
}
|
|
|
|
|
|
private string _linkid = "";
|
|
|
/// <summary>
|
|
|
/// 客户关联id
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string LINKID
|
|
|
{
|
|
|
get { return _linkid; }
|
|
|
set { _linkid = value; }
|
|
|
}
|
|
|
|
|
|
private string _codename = "";
|
|
|
/// <summary>
|
|
|
/// 客户代码
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CODENAME
|
|
|
{
|
|
|
get { return _codename; }
|
|
|
set { _codename = value; }
|
|
|
}
|
|
|
|
|
|
private string _showname = "";
|
|
|
/// <summary>
|
|
|
/// 客户名称
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SHOWNAME
|
|
|
{
|
|
|
get { return _showname; }
|
|
|
set { _showname = value; }
|
|
|
}
|
|
|
|
|
|
private string _addr = "";
|
|
|
/// <summary>
|
|
|
/// 通讯地址
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ADDR
|
|
|
{
|
|
|
get { return _addr; }
|
|
|
set { _addr = value; }
|
|
|
}
|
|
|
|
|
|
private string _email = "";
|
|
|
/// <summary>
|
|
|
/// 电子邮箱
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string EMAIL
|
|
|
{
|
|
|
get { return _email; }
|
|
|
set { _email = value; }
|
|
|
}
|
|
|
|
|
|
private string _tel = "";
|
|
|
/// <summary>
|
|
|
/// 电话
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string TEL
|
|
|
{
|
|
|
get { return _tel; }
|
|
|
set { _tel = value; }
|
|
|
}
|
|
|
|
|
|
private string _fax = "";
|
|
|
/// <summary>
|
|
|
/// 传真
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string FAX
|
|
|
{
|
|
|
get { return _fax; }
|
|
|
set { _fax = value; }
|
|
|
}
|
|
|
|
|
|
private string _mobile = "";
|
|
|
/// <summary>
|
|
|
/// 传真
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MOBILE
|
|
|
{
|
|
|
get { return _mobile; }
|
|
|
set { _mobile = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isfinancialstaff = false;
|
|
|
/// <summary>
|
|
|
/// 是否为财务
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISFINANCIALSTAFF
|
|
|
{
|
|
|
get { return _isfinancialstaff; }
|
|
|
set { _isfinancialstaff = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isoperator = false;
|
|
|
/// <summary>
|
|
|
/// 是否为操作
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISOPERATOR
|
|
|
{
|
|
|
get { return _isoperator; }
|
|
|
set { _isoperator = value; }
|
|
|
}
|
|
|
|
|
|
private bool _issaleman = false;
|
|
|
/// <summary>
|
|
|
/// 是否为销售
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISSALEMAN
|
|
|
{
|
|
|
get { return _issaleman; }
|
|
|
set { _issaleman = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isother = false;
|
|
|
/// <summary>
|
|
|
/// 是否为其他
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISOTHER
|
|
|
{
|
|
|
get { return _isother; }
|
|
|
set { _isother = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype1 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE1
|
|
|
{
|
|
|
get { return _contacttype1; }
|
|
|
set { _contacttype1 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype2 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE2
|
|
|
{
|
|
|
get { return _contacttype2; }
|
|
|
set { _contacttype2 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype3 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别3
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE3
|
|
|
{
|
|
|
get { return _contacttype3; }
|
|
|
set { _contacttype3 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype4 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别4
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE4
|
|
|
{
|
|
|
get { return _contacttype4; }
|
|
|
set { _contacttype4 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype5 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别5
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE5
|
|
|
{
|
|
|
get { return _contacttype5; }
|
|
|
set { _contacttype5 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype6 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别6
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE6
|
|
|
{
|
|
|
get { return _contacttype6; }
|
|
|
set { _contacttype6 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _contacttype7 = false;
|
|
|
/// <summary>
|
|
|
/// 联系人类别7
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool CONTACTTYPE7
|
|
|
{
|
|
|
get { return _contacttype7; }
|
|
|
set { _contacttype7 = value; }
|
|
|
}
|
|
|
|
|
|
private string _createuser = "";
|
|
|
/// <summary>
|
|
|
/// 创建人GID
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
|
|
|
public string CREATEUSER
|
|
|
{
|
|
|
get { return _createuser; }
|
|
|
set { _createuser = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
|
|
|
public DateTime CREATETIME
|
|
|
{
|
|
|
get { return _createtime; }
|
|
|
set { _createtime = value; }
|
|
|
}
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
/// <summary>
|
|
|
/// 最后一次更新操作人GID
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MODIFIEDUSER
|
|
|
{
|
|
|
get { return _modifieduser; }
|
|
|
set { _modifieduser = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// 最后一次更新操作时间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public DateTime MODIFIEDTIME
|
|
|
{
|
|
|
get { return _modifiedtime; }
|
|
|
set { _modifiedtime = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isstop = false;
|
|
|
/// <summary>
|
|
|
/// 是否停用该联系人信息
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISSTOP
|
|
|
{
|
|
|
get { return _isstop; }
|
|
|
set { _isstop = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isdeleted = false;
|
|
|
/// <summary>
|
|
|
/// 联系人删除状态标志
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
|
|
|
public bool ISDELETED
|
|
|
{
|
|
|
get { return _isdeleted; }
|
|
|
set { _isdeleted = value; }
|
|
|
}
|
|
|
|
|
|
private string _remark = "";
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string REMARK
|
|
|
{
|
|
|
get { return _remark; }
|
|
|
set { _remark = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _anniversary2 = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// ANNIVERSARY2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public DateTime ANNIVERSARY2
|
|
|
{
|
|
|
get { return _anniversary2; }
|
|
|
set { _anniversary2 = value; }
|
|
|
}
|
|
|
|
|
|
private string _aremark2 = "";
|
|
|
/// <summary>
|
|
|
/// AREMARK2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string AREMARK2
|
|
|
{
|
|
|
get { return _aremark2; }
|
|
|
set { _aremark2 = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _birthday = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// BIRTHDAY
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public DateTime BIRTHDAY
|
|
|
{
|
|
|
get { return _birthday; }
|
|
|
set { _birthday = value; }
|
|
|
}
|
|
|
|
|
|
private DateTime _anniversary1 = DateTime.Now;
|
|
|
/// <summary>
|
|
|
/// ANNIVERSARY1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public DateTime ANNIVERSARY1
|
|
|
{
|
|
|
get { return _anniversary1; }
|
|
|
set { _anniversary1 = value; }
|
|
|
}
|
|
|
|
|
|
private string _aremark1 = "";
|
|
|
/// <summary>
|
|
|
/// AREMARK1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string AREMARK1
|
|
|
{
|
|
|
get { return _aremark1; }
|
|
|
set { _aremark1 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isbirthday = false;
|
|
|
/// <summary>
|
|
|
/// ISBIRTHDAY
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISBIRTHDAY
|
|
|
{
|
|
|
get { return _isbirthday; }
|
|
|
set { _isbirthday = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isanniversary1 = false;
|
|
|
/// <summary>
|
|
|
/// ISANNIVERSARY1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISANNIVERSARY1
|
|
|
{
|
|
|
get { return _isanniversary1; }
|
|
|
set { _isanniversary1 = value; }
|
|
|
}
|
|
|
|
|
|
private bool _isanniversary2 = false;
|
|
|
/// <summary>
|
|
|
/// ISANNIVERSARY2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISANNIVERSARY2
|
|
|
{
|
|
|
get { return _isanniversary2; }
|
|
|
set { _isanniversary2 = value; }
|
|
|
}
|
|
|
|
|
|
private int _birthdayday = 0;
|
|
|
/// <summary>
|
|
|
/// BIRTHDAYDAY
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int BIRTHDAYDAY
|
|
|
{
|
|
|
get { return _birthdayday; }
|
|
|
set { _birthdayday = value; }
|
|
|
}
|
|
|
|
|
|
private int _anniversaryday1 = 0;
|
|
|
/// <summary>
|
|
|
/// ANNIVERSARYDAY1
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int ANNIVERSARYDAY1
|
|
|
{
|
|
|
get { return _anniversaryday1; }
|
|
|
set { _anniversaryday1 = value; }
|
|
|
}
|
|
|
|
|
|
private int _anniversaryday2 = 0;
|
|
|
/// <summary>
|
|
|
/// ANNIVERSARYDAY2
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int ANNIVERSARYDAY2
|
|
|
{
|
|
|
get { return _anniversaryday2; }
|
|
|
set { _anniversaryday2 = value; }
|
|
|
}
|
|
|
|
|
|
private string _job = "";
|
|
|
/// <summary>
|
|
|
/// JOB
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string JOB
|
|
|
{
|
|
|
get { return _job; }
|
|
|
set { _job = value; }
|
|
|
}
|
|
|
|
|
|
private string _sex = "";
|
|
|
/// <summary>
|
|
|
/// SEX
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SEX
|
|
|
{
|
|
|
get { return _sex; }
|
|
|
set { _sex = value; }
|
|
|
}
|
|
|
|
|
|
private string _age = "";
|
|
|
/// <summary>
|
|
|
/// AGE
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string AGE
|
|
|
{
|
|
|
get { return _age; }
|
|
|
set { _age = value; }
|
|
|
}
|
|
|
|
|
|
private string _marry = "";
|
|
|
/// <summary>
|
|
|
/// MARRY
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MARRY
|
|
|
{
|
|
|
get { return _marry; }
|
|
|
set { _marry = value; }
|
|
|
}
|
|
|
|
|
|
private string _children = "";
|
|
|
/// <summary>
|
|
|
/// CHILDREN
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CHILDREN
|
|
|
{
|
|
|
get { return _children; }
|
|
|
set { _children = value; }
|
|
|
}
|
|
|
|
|
|
private string _hobbies = "";
|
|
|
/// <summary>
|
|
|
/// HOBBIES
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string HOBBIES
|
|
|
{
|
|
|
get { return _hobbies; }
|
|
|
set { _hobbies = value; }
|
|
|
}
|
|
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
|
/// <summary>
|
|
|
/// MODIFIEDUSERNAME
|
|
|
/// </summary>
|
|
|
public string MODIFIEDUSERNAME
|
|
|
{
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
public MsExchangesUnitContactEntity()
|
|
|
{
|
|
|
TableName = "info_client_contact";
|
|
|
}
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
{
|
|
|
return "GID";
|
|
|
}
|
|
|
}
|
|
|
}
|