using System; using System.Collections.Generic; using System.Linq; using System.Text; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///供应商表 /// [SugarTable("WMSupplier", "Jiepei_WMS")] public class WMSupplier { public WMSupplier() { } /// /// 供应商Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 排序 /// public int Sort { get; set; } /// /// 供应商名称 /// public string Name { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 电话 /// public string Phone { get; set; } /// /// 统一代码 /// public string UnifiedCode { get; set; } /// /// 上传合同地址 /// public string FileUrl { get; set; } /// /// 单位邮箱 /// public string PostalCode { get; set; } /// /// 联系人 /// public string ConstactPerson { get; set; } /// /// 是否启用 1启用,0禁用 /// public bool IsEnable { get; set; } /// /// 状态:-1=已删除;0=待审核;1=通过审核;2=未通过审核 /// public int? Status { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } /// /// 创建人id /// public int CreatedBy { get; set; } /// /// 修改人 /// public int? UpdatedBy { get; set; } /// /// 修改时间 /// public DateTime? UpdatedTime { get; set; } /// /// 企业类型(已弃用) /// public int Type { get; set; } /// /// 公司表主键id /// public int CompanyID { get; set; } /// /// 简称 /// public string ShortName { get; set; } /// /// 主体Id /// public int SysOrgId { get; set; } /// /// 注册资本 /// public string RegisteredCapital { get; set; } /// /// 经营范围 /// public string BusinessScope { get; set; } /// /// 成立日期 /// public string DateofEstablishment { get; set; } /// /// 是否合作 /// public bool? IsCooperation { get; set; } /// /// 等级 /// public string Grade { get; set; } /// /// 发票类型 /// public string InvoiceType { get; set; } /// /// 税率 /// public string TaxRate { get; set; } /// /// 支付方式 /// public string PayType { get; set; } /// /// 结算方式 /// public string SettlementmMethod { get; set; } /// /// 交货周期 /// public int? LeadTime { get; set; } /// /// 法定代表人 /// public string LegalRepresentative { get; set; } /// /// 法定电话 /// public string LegalTelephone { get; set; } /// /// 职位 /// public string Position { get; set; } /// /// 微信 /// public string WeChat { get; set; } /// /// 主营产品 /// public string MainProducts { get; set; } /// /// 供应商属性 /// public string SupplierAttributes { get; set; } /// /// OA供应商id标识 /// public int OASupplierId { get; set; } //扩展字段 /// /// 创建人 /// [SugarColumn(IsIgnore = true)] public string CreatedName { get; set; } /// /// 修改人 /// [SugarColumn(IsIgnore = true)] public string UpdateName { get; set; } /// /// 供应商类型id /// [SugarColumn(IsIgnore = true)] public List TypeIDs { get; set; } /// /// 供应商类型名称 /// [SugarColumn(IsIgnore = true)] public List TypeNames { get; set; } /// /// 是否启用 /// [SugarColumn(IsIgnore = true)] public string IsEnableName { get; set; } /// /// 供应商类型用数组存储 /// [SugarColumn(IsIgnore = true)] public int [] ArrayType { get; set; } /// /// 合同1 /// [SugarColumn(IsIgnore = true)] public string FileUrl1 { get; set; } /// /// 合同2 /// [SugarColumn(IsIgnore = true)] public string FileUrl2 { get; set; } /// /// 合同3 /// [SugarColumn(IsIgnore = true)] public string FileUrl3 { get; set; } /// /// 合同4 /// [SugarColumn(IsIgnore = true)] public string FileUrl4 { get; set; } /// /// 合同5 /// [SugarColumn(IsIgnore = true)] public string FileUrl5 { get; set; } } }