namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class Base_Client
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Base_Client()
|
{
|
CRM_ClientLinker = new HashSet<CRM_ClientLinker>();
|
}
|
|
[Key]
|
public int Client_Id { get; set; }
|
|
[StringLength(500)]
|
public string PinYinCode { get; set; }
|
|
public int? PlatUser_Id { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserCode { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserName { get; set; }
|
|
[StringLength(50)]
|
public string PlatCorpName { get; set; }
|
|
public int? UserProduct_Id { get; set; }
|
|
[StringLength(50)]
|
public string UserProductCode { get; set; }
|
|
[StringLength(100)]
|
public string UserProductAlias { get; set; }
|
|
[Required]
|
[StringLength(50)]
|
public string ClientCode { get; set; }
|
|
[Required]
|
[StringLength(500)]
|
public string ClientShortName { get; set; }
|
|
[StringLength(500)]
|
public string ClientFullName { get; set; }
|
|
public int? Country_Id { get; set; }
|
|
[StringLength(128)]
|
public string CountryName { get; set; }
|
|
[StringLength(128)]
|
public string CountryFullName { get; set; }
|
|
public byte IsHot { get; set; }
|
|
[StringLength(50)]
|
public string HotType { get; set; }
|
|
[StringLength(50)]
|
public string HotLevel { get; set; }
|
|
[StringLength(500)]
|
public string HotRemark { get; set; }
|
|
[StringLength(50)]
|
public string Valuation { get; set; }
|
|
[StringLength(50)]
|
public string CreditLevel { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? CreditLine { get; set; }
|
|
[StringLength(50)]
|
public string ClientType { get; set; }
|
|
[StringLength(50)]
|
public string Profession { get; set; }
|
|
[StringLength(50)]
|
public string RelationLevel { get; set; }
|
|
[StringLength(50)]
|
public string PayType { get; set; }
|
|
[StringLength(50)]
|
public string StaffSize { get; set; }
|
|
[StringLength(50)]
|
public string Source { get; set; }
|
|
[StringLength(50)]
|
public string Phase { get; set; }
|
|
[StringLength(500)]
|
public string Label { get; set; }
|
|
public string CorpDesc { get; set; }
|
|
public int? Province_Id { get; set; }
|
|
[StringLength(50)]
|
public string ProvinceName { get; set; }
|
|
public int? City_Id { get; set; }
|
|
[StringLength(50)]
|
public string CityName { get; set; }
|
|
public int? Region_Id { get; set; }
|
|
[StringLength(50)]
|
public string RegionName { get; set; }
|
|
[StringLength(200)]
|
public string Email { get; set; }
|
|
[StringLength(50)]
|
public string Zip { get; set; }
|
|
[StringLength(100)]
|
public string Tel { get; set; }
|
|
[StringLength(50)]
|
public string Fax { get; set; }
|
|
[StringLength(200)]
|
public string Address { get; set; }
|
|
[StringLength(200)]
|
public string CorpURL { get; set; }
|
|
[StringLength(150)]
|
public string Bank { get; set; }
|
|
[StringLength(200)]
|
public string BankCode { get; set; }
|
|
[StringLength(200)]
|
public string RaxCode { get; set; }
|
|
[StringLength(200)]
|
public string ArtificiaPerson { get; set; }
|
|
[StringLength(200)]
|
public string MonthSales { get; set; }
|
|
public DateTime? SubmitDate { get; set; }
|
|
public DateTime? NextDate { get; set; }
|
|
public byte? IsOpen { get; set; }
|
|
public DateTime? BargainDate { get; set; }
|
|
public int? BargainSeasonal { get; set; }
|
|
public byte? Enable { get; set; }
|
|
public string Remark { get; set; }
|
|
public int? OrderNo { get; set; }
|
|
public int? CreateID { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
public int? ModifyID { get; set; }
|
|
[StringLength(50)]
|
public string Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
[StringLength(50)]
|
public string DeleteBy { get; set; }
|
|
public int? User_Id { get; set; }
|
|
[StringLength(50)]
|
public string UserTrueName { get; set; }
|
|
public DateTime? DrawDate { get; set; }
|
|
public DateTime? ExpireDate { get; set; }
|
|
[StringLength(50)]
|
public string CustomerNature { get; set; }
|
|
public int? Consignor_Id { get; set; }
|
|
[StringLength(50)]
|
public string ConsignorCode { get; set; }
|
|
[StringLength(150)]
|
public string ConsignorName { get; set; }
|
|
[StringLength(350)]
|
public string Telephone { get; set; }
|
|
[StringLength(50)]
|
public string Mobile { get; set; }
|
|
public string ShippingAddress { get; set; }
|
|
[StringLength(800)]
|
public string ShippingName { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<CRM_ClientLinker> CRM_ClientLinker { get; set; }
|
}
|
}
|