using System; using System.Linq; using System.Text; using SqlSugar; namespace WMS.Entity.SysEntity { /// ///客户表 /// [SugarTable("SysCustomer")] public class SysCustomer:BaseEntity { /// /// 客户号 /// Default: /// Nullable:True /// public string CustomerNo {get;set;} /// /// 客户名称 /// Default: /// Nullable:True /// public string CustomerName {get;set;} /// /// 类型 0 销售客户/货主 1 供货商 /// Default: /// Nullable:True /// public int? Type {get;set;} /// /// 地址 /// Default: /// Nullable:True /// public string Address {get;set;} /// /// 联系人 /// Default: /// Nullable:True /// public string LinkMan {get;set;} /// /// 电话 /// Default: /// Nullable:True /// public string Phone {get;set;} /// /// 银行卡号 /// Default: /// Nullable:True /// public string BankAccount {get;set;} /// /// 信用等级 /// Default: /// Nullable:True /// public string CreditRating {get;set;} /// /// 备注 /// Default: /// Nullable:True /// public string Demo {get;set;} [Navigate(NavigateType.OneToOne, nameof(CreateUser))] public SysUserInfor CreateUserInfo { get; set; } [Navigate(NavigateType.OneToOne, nameof(UpdateUser))] public SysUserInfor UpdateUserInfo { get; set; } } }