|
|
|
@ -0,0 +1,816 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Common.DB
|
|
|
|
|
{
|
|
|
|
|
[Table("t_PublicInterface_Log")]
|
|
|
|
|
public partial class t_PublicInterface_Log_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
public long ID { get; set; }
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string PORTNAME { get; set; }
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
public string Param { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("t_crm_client")]
|
|
|
|
|
public partial class t_crm_client_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string 客户简称 { get; set; }
|
|
|
|
|
public string 客户状态 { get; set; }
|
|
|
|
|
public string 客户价值 { get; set; }
|
|
|
|
|
public string 客户性质 { get; set; }
|
|
|
|
|
public int? 结费期限 { get; set; }
|
|
|
|
|
public string 代码 { get; set; }
|
|
|
|
|
public string EDI代码 { get; set; }
|
|
|
|
|
public string 客户全称 { get; set; }
|
|
|
|
|
public string 通讯地址 { get; set; }
|
|
|
|
|
public string 邮箱 { get; set; }
|
|
|
|
|
public string 网站 { get; set; }
|
|
|
|
|
public string 电话 { get; set; }
|
|
|
|
|
public string 传真 { get; set; }
|
|
|
|
|
public string 揽货人 { get; set; }
|
|
|
|
|
public string 法人 { get; set; }
|
|
|
|
|
public string 营业执照 { get; set; }
|
|
|
|
|
public string 国税登记 { get; set; }
|
|
|
|
|
public string 地税登记 { get; set; }
|
|
|
|
|
public string 开户行USD { get; set; }
|
|
|
|
|
public string 帐号USD { get; set; }
|
|
|
|
|
public string 开户行RMB { get; set; }
|
|
|
|
|
public string 帐号RMB { get; set; }
|
|
|
|
|
public string 发票抬头 { get; set; }
|
|
|
|
|
public string 企业规模 { get; set; }
|
|
|
|
|
public string 业务货量 { get; set; }
|
|
|
|
|
public string 出口区域 { get; set; }
|
|
|
|
|
public string 业务区域 { get; set; }
|
|
|
|
|
public string 出口箱型 { get; set; }
|
|
|
|
|
public string 货物名称 { get; set; }
|
|
|
|
|
public string 报关名称 { get; set; }
|
|
|
|
|
public string 海关编码 { get; set; }
|
|
|
|
|
public string 商品编码 { get; set; }
|
|
|
|
|
public bool? 是否商检 { get; set; }
|
|
|
|
|
public bool? 是否熏蒸 { get; set; }
|
|
|
|
|
public bool? 是否报关 { get; set; }
|
|
|
|
|
public string 报关习惯 { get; set; }
|
|
|
|
|
public string 运价要求 { get; set; }
|
|
|
|
|
public string 付费习惯 { get; set; }
|
|
|
|
|
public string 结费方式 { get; set; }
|
|
|
|
|
public string 发票要求 { get; set; }
|
|
|
|
|
public string 船公司要求 { get; set; }
|
|
|
|
|
public string 提单要求 { get; set; }
|
|
|
|
|
public string 结费习惯 { get; set; }
|
|
|
|
|
public string 派车习惯 { get; set; }
|
|
|
|
|
public string 操作习惯 { get; set; }
|
|
|
|
|
public string 注重环节 { get; set; }
|
|
|
|
|
public string 评价分析 { get; set; }
|
|
|
|
|
public string 其他要求 { get; set; }
|
|
|
|
|
public string 录入人 { get; set; }
|
|
|
|
|
public DateTime? 录入日期 { get; set; }
|
|
|
|
|
public string 快捷代码 { get; set; }
|
|
|
|
|
public string 备注 { get; set; }
|
|
|
|
|
public bool? 船公司 { get; set; }
|
|
|
|
|
public bool? 场站 { get; set; }
|
|
|
|
|
public bool? 车队 { get; set; }
|
|
|
|
|
public bool? 报关行 { get; set; }
|
|
|
|
|
public bool? 委托单位 { get; set; }
|
|
|
|
|
public bool? 代理 { get; set; }
|
|
|
|
|
public bool? 货代 { get; set; }
|
|
|
|
|
public bool? 收货人 { get; set; }
|
|
|
|
|
public bool? 发货人 { get; set; }
|
|
|
|
|
public bool? 通知人 { get; set; }
|
|
|
|
|
public bool? 航空公司 { get; set; }
|
|
|
|
|
public bool? 其他客户 { get; set; }
|
|
|
|
|
public string 客服员 { get; set; }
|
|
|
|
|
public bool? 快递公司 { get; set; }
|
|
|
|
|
public string 行业类型 { get; set; }
|
|
|
|
|
public DateTime? 登记日期 { get; set; }
|
|
|
|
|
public string 美元支票抬头 { get; set; }
|
|
|
|
|
public string 人民币支票抬头 { get; set; }
|
|
|
|
|
public string 结费类型 { get; set; }
|
|
|
|
|
public string 类型模式 { get; set; }
|
|
|
|
|
public string 日期模式 { get; set; }
|
|
|
|
|
public decimal? 结费金额 { get; set; }
|
|
|
|
|
public int? 结费日期 { get; set; }
|
|
|
|
|
public int? 结费开始 { get; set; }
|
|
|
|
|
public int? 结费结束 { get; set; }
|
|
|
|
|
public int? 结费开始2 { get; set; }
|
|
|
|
|
public int? 结费结束2 { get; set; }
|
|
|
|
|
public int? 结费日期2 { get; set; }
|
|
|
|
|
public DateTime? 结费开始日期 { get; set; }
|
|
|
|
|
public decimal? 退佣标准 { get; set; }
|
|
|
|
|
public decimal? 默认税率 { get; set; }
|
|
|
|
|
public string 国家 { get; set; }
|
|
|
|
|
public string 洲 { get; set; }
|
|
|
|
|
public string 城市 { get; set; }
|
|
|
|
|
public string IGZ代码 { get; set; }
|
|
|
|
|
public bool? 船代 { get; set; }
|
|
|
|
|
public int? 结费优惠期限 { get; set; }
|
|
|
|
|
public string 帐龄状态 { get; set; }
|
|
|
|
|
public string 订舱系统序列号 { get; set; }
|
|
|
|
|
public bool? 订舱代理 { get; set; }
|
|
|
|
|
public string 外运代码 { get; set; }
|
|
|
|
|
public string 英文全称 { get; set; }
|
|
|
|
|
public string 企业代码 { get; set; }
|
|
|
|
|
public string 国家代码 { get; set; }
|
|
|
|
|
public string VGM代码 { get; set; }
|
|
|
|
|
public string 放单状态 { get; set; }
|
|
|
|
|
public string 扣单状态 { get; set; }
|
|
|
|
|
public string 大简云代码 { get; set; }
|
|
|
|
|
public string 客商编码 { get; set; }
|
|
|
|
|
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class csCust
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源业务系统ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务系统(OTW(otw)/报关系统(bg)/船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客商编码(需校验唯一性)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中文简称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custAlias { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 英文全称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custNameEn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 中文全称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custNameCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 国家
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string countryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 国家名称(中文)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string countryNameCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 省份/州
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string stateCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 省份/州
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string stateName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 城市
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cityCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 城市名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cityName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 邮政编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string zip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 中文地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string addrCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 英文地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string addrEn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 有效标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string active { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 一次性客商Y:是N:否
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string isOneTimeCustomers { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 失效人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string invalidName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 失效时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string invalidTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规模(单个公司、员工型、一次性、全国、区域)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string scale { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 所有制信息(国有企业、民营企业、三资企业、非营业组织机构、自然人)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ownership { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 销售渠道
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string salesChannelS { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 是否结算对象Y:是N:否
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string isSettlement { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算对象业务系统ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleCustID { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleCustCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算对象名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleCustName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 是否客户 Y:是 N:不是
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string csFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 是否供应商 Y:是 N:不是
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string supplierFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 注册资本
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string registeredCapitqal { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 注册时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string registeredTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 统一信用代码(对应主数据的企业注册码)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string unifiedCreditNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 组织机构代码(对应主数据组织机构证代码)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string clientNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 纳税人识别号(对应主数据税务登记证代码)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string taxpayerIdentificatioNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 工商注册号
|
|
|
|
|
///(对应主数据营业执照注册码)
|
|
|
|
|
///administration for industry and commerce 工商局
|
|
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string aicRegisteredNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 商检注册代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string iqbRegisteredNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 海关注册代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string customesRegisteredNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 法人代表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string fictitiousPerson { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string tel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 手机
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string mobileNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string email { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 传真
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string fax { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 客户状态:1、临时客户2、正式客户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 客户主数据代码 CDH(common data HUB)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cdhCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 供应商主数据代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string vCdhCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(1) 客户类型((内部组织I、外部组织O)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(30) 行业类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lndustryType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 行业子类(取自数据字典)(暂不使用)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string subLndustryType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 开票限额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string invoiceMaximum { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 默认付款条件(暂不使用)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string defaultPaymentTerm { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 默认收款条件(暂不使用)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string defaultCollectionTerm { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(500) 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 课税性质(一般纳税人、小规模纳税人)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string taxNature { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 内部组织代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custOfficeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
public csCustOfficeInfo CustOfficeInfo { get; set; }
|
|
|
|
|
public csCustInvoice CustInvoice { get; set; }
|
|
|
|
|
public List<csCustType> CustType { get; set; }
|
|
|
|
|
public List<csCustContact> CustContact { get; set; }
|
|
|
|
|
public List<csCustSales> CustSales { get; set; }
|
|
|
|
|
public List<csCustAccount> CustAccount { get; set; }
|
|
|
|
|
|
|
|
|
|
public t_crm_client_md GetCrmClient() {
|
|
|
|
|
var result = new t_crm_client_md();
|
|
|
|
|
result.bizCsCustId = bizCsCustId;
|
|
|
|
|
result.客商编码 = custCode;
|
|
|
|
|
result.客户简称 = custAlias;
|
|
|
|
|
result.英文全称 = custNameEn;
|
|
|
|
|
result.客户全称 = custNameCn;
|
|
|
|
|
result.国家代码 = countryCode;
|
|
|
|
|
result.国家 = countryNameCn;
|
|
|
|
|
result.洲 = stateName;
|
|
|
|
|
result.城市 = cityName;
|
|
|
|
|
result.通讯地址 = addrCn;
|
|
|
|
|
|
|
|
|
|
result.营业执照 = aicRegisteredNo;
|
|
|
|
|
result.国税登记 = taxpayerIdentificatioNo;
|
|
|
|
|
|
|
|
|
|
result.海关编码 = customesRegisteredNo;
|
|
|
|
|
|
|
|
|
|
result.法人 = fictitiousPerson;
|
|
|
|
|
result.电话 = tel;
|
|
|
|
|
//result.手机 = mobileNo;
|
|
|
|
|
result.邮箱 = email;
|
|
|
|
|
result.传真 = fax;
|
|
|
|
|
|
|
|
|
|
result.录入人 = creator;
|
|
|
|
|
result.录入日期 = createTime == null ? DateTime.Now : Convert.ToDateTime(createTime);
|
|
|
|
|
result.备注 = remark;
|
|
|
|
|
|
|
|
|
|
result.代码= CustOfficeInfo.memoryCode==null?"": (CustOfficeInfo.memoryCode.Length>10
|
|
|
|
|
?CustOfficeInfo.memoryCode.Substring(0,10)
|
|
|
|
|
:CustOfficeInfo.memoryCode);
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustOfficeInfo {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统(OTW(otw)/报关系统(bg) /船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统客户资料ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustOfficeInfoId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 助记码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string memoryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOffice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 结算公司名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOfficeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 审批状态:1、未提交 2、提交未审批 3、已审批
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string approvalStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 客户财务编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string fsAccountCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(10) 供应商财务编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string vFsAccountCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) NVOCC证书号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string nvoccNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 有效标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string active { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustType {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统物流角色ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustTypeId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(10) 客户类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustContact {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统(OTW(otw)/报关(bg) /船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 联系人业务系统ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustContactId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 中文姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string contactCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 英文姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string contactEn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 国家代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string countryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 国家
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string countryNameCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 所属部门代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string departmentCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 所属部门
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string departmentName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 是否默认
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string isDefault { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 职位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string position { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 办公电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string tel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 手机
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string mobileNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string email { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) QQ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string qq { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(10) 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string address { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(500) 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 传真
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string fax { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 微信
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string wechat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOffice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOfficeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 生效状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string active { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(3) 联系人类型(业务联系人BIZ、财务联系人FIN)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string contactType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustSales {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统(OTW(otw)/报关(bg) /船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统销售ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustSalesId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 销售代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string salesCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 中文姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string salesNameCn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 英文姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string salesNameEn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOffice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOfficeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 生效状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string active { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 默认
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string isDefault { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 角色(C:客服,S:销售)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string roles { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 业务类型CODE
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string businessType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 业务类型名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string businessTypeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustAccount {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统(OTW(otw)/报关(bg) /船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统客商账号ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustAccountId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 银行账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string accounts { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 账号名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bacntName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 开户银行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string custBankName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 银行行号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bankNumber { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(3) 默认币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string currency { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CHAR(1) 是否默认帐户 Y:是 N:否
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string isDefault { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(20) 托收协议号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string collectiongAgreementNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOffice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOfficeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 备案状态Y :有 N: 无
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string recordStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 备案备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string recodeRemark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class csCustInvoice {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 来源业务系统(OTW(otw)/报关(bg) /船货代系统(FR))
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizSystemType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统CS_CUST ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 业务系统客商账号ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bizCsCustInvoiceId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 默认缺省抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string defaultInvoiceTitle { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(200) 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string invoiceAddress { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string tel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 纳税人识别号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string taxpayerIdentificatioNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOffice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(100) 结算公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string settleOfficeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string createTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VARCHAR(50) 最后修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|