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.

489 lines
12 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "info_client", DisableSyncStructure = true)]
public partial class InfoClient {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 通讯地址
/// </summary>
[JsonProperty, Column(DbType = "varchar(1000)")]
public string ADDR { get; set; }
/// <summary>
/// 发票抬头1
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string BillRises1 { get; set; }
/// <summary>
/// 发票抬头2
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string BillRises2 { get; set; }
[JsonProperty, Column(DbType = "varchar(600)")]
public string BLCONTENT { get; set; }
[JsonProperty, Column(Name = "blstatus")]
public byte? Blstatus { get; set; } = 1;
[JsonProperty, Column(DbType = "varchar(36)")]
public string BSSOURCE { get; set; }
/// <summary>
/// 负责人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CHIEF { get; set; }
/// <summary>
/// 城市
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string CITY { get; set; }
/// <summary>
/// 客户代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string CODENAME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 国家
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string COUNTRY { get; set; }
/// <summary>
/// 自定义属性1
/// </summary>
[JsonProperty, Column(DbType = "varchar(12)")]
public string CustomAttributes1 { get; set; }
/// <summary>
/// 自定义属性2
/// </summary>
[JsonProperty, Column(DbType = "varchar(12)")]
public string CustomAttributes2 { get; set; }
/// <summary>
///客户全称 客户中文名称或描述信息
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string DESCRIPTION { get; set; }
/// <summary>
/// 所属单证
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string DOC { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string EDICODE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string EDICODE2 { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string EDICODE3 { get; set; }
/// <summary>
/// 邮箱
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string EMAIL { get; set; }
/// <summary>
/// 客户英文全称
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string EnFullName { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string FAPCODE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string FARCODE { get; set; }
/// <summary>
/// 传真
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FAX { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string FEEFRT { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string ICOURL { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string InspectionNo { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(150)")]
public string INVADDRTEL { get; set; }
[JsonProperty, Column(DbType = "varchar(150)")]
public string INVBANK { get; set; }
/// <summary>
/// 是否代理(国外)
/// </summary>
[JsonProperty]
public bool? ISAGENT { get; set; } = false;
/// <summary>
/// 是否代理(国内)
/// </summary>
[JsonProperty]
public bool? ISAGENTCN { get; set; } = false;
/// <summary>
/// 是否航空公司
/// </summary>
[JsonProperty]
public bool? ISAIRLINES { get; set; } = false;
/// <summary>
/// 是否订舱公司
/// </summary>
[JsonProperty]
public bool? ISBOOKING { get; set; } = false;
/// <summary>
/// 是否船公司
/// </summary>
[JsonProperty]
public bool? ISCARRIER { get; set; } = false;
/// <summary>
/// 是否收货人
/// </summary>
[JsonProperty]
public bool? ISCONSIGNEE { get; set; } = false;
/// <summary>
/// 是否委托单位
/// </summary>
[JsonProperty]
public bool? ISCONTROLLER { get; set; } = false;
/// <summary>
/// 是否报关行
/// </summary>
[JsonProperty]
public bool? ISCUSTOM { get; set; } = false;
[JsonProperty]
public bool? ISENTERP { get; set; } = false;
/// <summary>
/// 是否快递公司
/// </summary>
[JsonProperty]
public bool? ISEXPRESS { get; set; } = false;
[JsonProperty]
public bool? ISINSURE { get; set; } = false;
[JsonProperty]
public bool? ISLEASING { get; set; } = false;
/// <summary>
/// 是否通知人
/// </summary>
[JsonProperty]
public bool? ISNOTIFYPARTY { get; set; } = false;
[JsonProperty]
public bool? ISOTHER { get; set; } = false;
/// <summary>
/// 船代
/// </summary>
[JsonProperty]
public bool? ISSHIPAGENCY { get; set; } = false;
/// <summary>
/// 是否发货人
/// </summary>
[JsonProperty]
public bool? ISSHIPPER { get; set; } = false;
[JsonProperty]
public bool? ISSHIPPINGAGENT { get; set; } = false;
[JsonProperty]
public bool? ISSP { get; set; } = false;
/// <summary>
/// 是否停用该客户信息
/// </summary>
[JsonProperty]
public bool? ISSTOP { get; set; } = false;
[JsonProperty]
public bool? ISTRADINGAGENCY { get; set; } = false;
/// <summary>
/// 是否车队
/// </summary>
[JsonProperty]
public bool? ISTRUCK { get; set; } = false;
/// <summary>
/// 是否仓库
/// </summary>
[JsonProperty]
public bool? ISWAREHOUSE { get; set; } = false;
[JsonProperty]
public bool? ISWHARF { get; set; } = false;
/// <summary>
/// 是否场站
/// </summary>
[JsonProperty]
public bool? ISYARD { get; set; } = false;
[JsonProperty, Column(DbType = "varchar(1)")]
public string LEVEL { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string LOADPORT { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string LOGINNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string LOGINPASSWORD { get; set; }
/// <summary>
/// 信用最大金额RMB+USD
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? MaxAmountCredit { get; set; } = 0M;
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string MSN { get; set; }
/// <summary>
/// 客户英文简称
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string NAME { get; set; }
/// <summary>
/// 所属揽货人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string OP { get; set; }
/// <summary>
/// 处理人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string OPNAME { get; set; }
/// <summary>
/// 处理时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? OPTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string ORDERNO { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string ORGANIZATIONCODE { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(100)")]
public string OTHERS { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(60)")]
public string PCORPNAME { get; set; }
/// <summary>
/// 省或州
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string PROVINCE { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string QQ { get; set; }
[JsonProperty]
public int? RCVMode { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(50)")]
public string REGISTRATIONNO { get; set; } = "";
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string REMARK { get; set; }
/// <summary>
/// 人民币账号
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string RMBAccount { get; set; }
/// <summary>
/// 人民币开户银行
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string RMBBank { get; set; }
/// <summary>
/// 人民币支票抬头
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string RMBBillRises { get; set; }
/// <summary>
/// 人民币信用最大金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? RMBMaxAmountCredit { get; set; } = 0M;
/// <summary>
/// 人民币联机行号
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string RMBOnlineNO { get; set; }
/// <summary>
/// 所属揽货人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string SALE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string SALECORPID { get; set; }
/// <summary>
/// 客户简称
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string SHORTNAME { get; set; }
/// <summary>
/// 客户状态
/// </summary>
[JsonProperty]
public int? STATUS { get; set; } = 0;
/// <summary>
/// 月结算时间
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string STLDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(2)")]
public string STLDATEPJ { get; set; }
/// <summary>
/// 上半月结算时间
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string STLFIRSTHALFDATE { get; set; }
/// <summary>
/// 下半月结算时间
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string STLMIDDLEDATE { get; set; }
/// <summary>
/// 结算方式编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string STLNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string TAXNO { get; set; }
/// <summary>
/// 电话
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string TEL { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string UNITPRICE { get; set; } = "0";
/// <summary>
/// 美元账号
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string USDAccount { get; set; }
/// <summary>
/// 美元开户银行
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string USDBank { get; set; }
/// <summary>
/// 美元支票抬头
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string USDBillRises { get; set; }
/// <summary>
/// 美金汇率
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? USDExchangeRate { get; set; } = 0M;
/// <summary>
/// 美元信用最大金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? USDMaxAmountCredit { get; set; } = 0M;
/// <summary>
/// 美元联机行号
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string USDOnlineNO { get; set; }
/// <summary>
/// 网页
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string WEB { get; set; }
/// <summary>
/// 转换码 转换码 多个,间隔 比如青岛东胜软件有限公司 青岛东胜,东胜软件,青东胜
/// </summary>
[Column(DbType = "varchar(2000)")]
public string SwitchCodeList { get; set; }
}
}