You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
309 lines
11 KiB
309 lines
11 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using CK.SCP.Models.Attributes;
|
|
using CK.SCP.Models.Base;
|
|
|
|
using CK.SCP.Models.ExchangeCenterTables;namespace CK.SCP.Models.DataCenterTables
|
|
{
|
|
[Description("供应商表")]
|
|
public class TS_SUPPLIER : IUpdatableTable, ISoftDelete, IDomain
|
|
{
|
|
[Required(ErrorMessage = "代码不能为空")]
|
|
[Index("IndexSupplier", Order = 0, IsUnique = true, IsClustered = false)]
|
|
[IsDataGridColum(true, 1)]
|
|
[Description("供应商代码")]
|
|
[StringLength(50)]
|
|
public string Code { get; set; }
|
|
[IsDataGridColum(true, 2)]
|
|
[Description("供应商名称")]
|
|
[StringLength(50)]
|
|
public string Name { get; set; }
|
|
[IsDataGridColum(true, 3)]
|
|
[Description("搜索名称")]
|
|
[StringLength(50)]
|
|
public string SearchName { get; set; }
|
|
[IsDataGridColum(true, 4)]
|
|
[Description("中间名称")]
|
|
[StringLength(50)]
|
|
public string SecondName { get; set; }
|
|
[IsDataGridColum(true, 5)]
|
|
[Description("第三级名称")]
|
|
[StringLength(50)]
|
|
public string ThirdName { get; set; }
|
|
[IsDataGridColum(true, 6)]
|
|
[Description("组名")]
|
|
[StringLength(50)]
|
|
public string GroupName { get; set; }
|
|
[IsDataGridColum(true, 7)]
|
|
[Description("启用")]
|
|
public bool Active { get; set; }
|
|
[IsDataGridColum(true, 8)]
|
|
[Description("供应商地址")]
|
|
[StringLength(50)]
|
|
public string Address1 { get; set; }
|
|
[IsDataGridColum(true, 9)]
|
|
[Description("供应商地址")]
|
|
[StringLength(50)]
|
|
public string Address2 { get; set; }
|
|
[IsDataGridColum(true, 10)]
|
|
[Description("供应商地址")]
|
|
[StringLength(50)]
|
|
public string Address3 { get; set; }
|
|
[IsDataGridColum(true, 11)]
|
|
[Description("邮编")]
|
|
public int ZipCode { get; set; }
|
|
[IsDataGridColum(true, 12)]
|
|
[Description("城市")]
|
|
[StringLength(50)]
|
|
public string City { get; set; }
|
|
[IsDataGridColum(true, 13)]
|
|
[Description("国家")]
|
|
[StringLength(50)]
|
|
public string Country { get; set; }
|
|
[IsDataGridColum(true, 14)]
|
|
[Description("电话")]
|
|
public int Telephone { get; set; }
|
|
[IsDataGridColum(true, 15)]
|
|
[Description("省")]
|
|
[StringLength(50)]
|
|
public string province { get; set; }
|
|
[IsDataGridColum(true, 16)]
|
|
[Description("县")]
|
|
[StringLength(50)]
|
|
public string County { get; set; }
|
|
[IsDataGridColum(true, 17)]
|
|
[Description("传真")]
|
|
public int Fax { get; set; }
|
|
[IsDataGridColum(true, 18)]
|
|
[Description("语言代码")]
|
|
[StringLength(50)]
|
|
public string LanguageCode { get; set; }
|
|
[IsDataGridColum(true, 19)]
|
|
[Description("电子邮件")]
|
|
public int Email { get; set; }
|
|
[IsDataGridColum(true, 20)]
|
|
[Description("网址")]
|
|
public int Internet { get; set; }
|
|
[IsDataGridColum(true, 21)]
|
|
[Description("纳税地址")]
|
|
public bool AddressIsTaxable { get; set; }
|
|
[IsDataGridColum(true, 22)]
|
|
[Description("含税")]
|
|
public bool AddressIsTaxIncluded { get; set; }
|
|
[IsDataGridColum(true, 23)]
|
|
[Description("联邦税")]
|
|
[StringLength(50)]
|
|
public string FederalTax { get; set; }
|
|
[IsDataGridColum(true, 24)]
|
|
[Description("州税")]
|
|
[StringLength(50)]
|
|
public string StateTax { get; set; }
|
|
[IsDataGridColum(true, 25)]
|
|
[Description("杂项税1")]
|
|
[StringLength(50)]
|
|
public string MiscTax1 { get; set; }
|
|
[IsDataGridColum(true, 26)]
|
|
[Description("杂项税2")]
|
|
[StringLength(50)]
|
|
public string MiscTax2 { get; set; }
|
|
[IsDataGridColum(true, 27)]
|
|
[Description("杂项税3")]
|
|
[StringLength(50)]
|
|
public string MiscTax3 { get; set; }
|
|
[IsDataGridColum(true, 28)]
|
|
[Description("城市税")]
|
|
public bool TaxInCity { get; set; }
|
|
[IsDataGridColum(true, 29)]
|
|
[Description("税区")]
|
|
[StringLength(50)]
|
|
public string TaxZone { get; set; }
|
|
[IsDataGridColum(true, 30)]
|
|
[Description("税种")]
|
|
public int TaxClass { get; set; }
|
|
[IsDataGridColum(true, 31)]
|
|
[Description("税用途")]
|
|
[StringLength(50)]
|
|
public string TaxUsage { get; set; }
|
|
[IsDataGridColum(true, 32)]
|
|
[Description("标题")]
|
|
[StringLength(50)]
|
|
public string Title { get; set; }
|
|
[IsDataGridColum(true, 33)]
|
|
[Description("联系人名称")]
|
|
[StringLength(50)]
|
|
public string ContactName { get; set; }
|
|
[IsDataGridColum(true, 34)]
|
|
[Description("缩写")]
|
|
[StringLength(50)]
|
|
public string Initials { get; set; }
|
|
[IsDataGridColum(true, 35)]
|
|
[Description("函数")]
|
|
[StringLength(50)]
|
|
public string Function { get; set; }
|
|
[IsDataGridColum(true, 36)]
|
|
[Description("性别")]
|
|
[StringLength(50)]
|
|
public string Gender { get; set; }
|
|
[IsDataGridColum(true, 37)]
|
|
[Description("主要联系人")]
|
|
public bool ContactIsPrimary { get; set; }
|
|
[IsDataGridColum(true, 38)]
|
|
[Description("次要联系人")]
|
|
public bool ContactIsSecondary { get; set; }
|
|
[IsDataGridColum(true, 39)]
|
|
[Description("允许补偿")]
|
|
public bool Compens { get; set; }
|
|
[IsDataGridColum(true, 40)]
|
|
[Description("发票控制文件")]
|
|
public int GlProfileInvoice { get; set; }
|
|
[IsDataGridColum(true, 41)]
|
|
[Description("信用票据控制文件")]
|
|
public int GlProfileCreditNote { get; set; }
|
|
[IsDataGridColum(true, 42)]
|
|
[Description("预付款控制文件")]
|
|
public int GlProfilePrepayment { get; set; }
|
|
[IsDataGridColum(true, 43)]
|
|
[Description("总账控制文件")]
|
|
public int AccountGLProfile { get; set; }
|
|
[IsDataGridColum(true, 44)]
|
|
[Description("分账户控制文件")]
|
|
public int SubAccountProfile { get; set; }
|
|
[IsDataGridColum(true, 45)]
|
|
[Description("信贷机构引用")]
|
|
[StringLength(50)]
|
|
public string CreditAgencyReference { get; set; }
|
|
[IsDataGridColum(true, 46)]
|
|
[Description("商会号")]
|
|
[StringLength(50)]
|
|
public string CommerceNumber { get; set; }
|
|
[IsDataGridColum(true, 47)]
|
|
[Description("TID通知")]
|
|
[StringLength(50)]
|
|
public string TidNotice { get; set; }
|
|
[IsDataGridColum(true, 48)]
|
|
[Description("外部客户号")]
|
|
[StringLength(50)]
|
|
public string ExternalCustomerNumber { get; set; }
|
|
[IsDataGridColum(true, 49)]
|
|
[Description("币种")]
|
|
[StringLength(50)]
|
|
public string Currency { get; set; }
|
|
[IsDataGridColum(true, 1505)]
|
|
[Description("供应商类型")]
|
|
[StringLength(50)]
|
|
public string SupplierType { get; set; }
|
|
[IsDataGridColum(true, 51)]
|
|
[Description("采购类型")]
|
|
[StringLength(50)]
|
|
public string Purchasetype { get; set; }
|
|
[IsDataGridColum(true, 52)]
|
|
[Description("支付期")]
|
|
[StringLength(50)]
|
|
public string CreditTerms { get; set; }
|
|
[IsDataGridColum(true, 53)]
|
|
[Description("发票状态代码")]
|
|
[StringLength(50)]
|
|
public string InvoiceStatusCode { get; set; }
|
|
[IsDataGridColum(true, 54)]
|
|
[Description("付款组")]
|
|
[StringLength(50)]
|
|
public string PaymentGroup { get; set; }
|
|
[IsDataGridColum(true, 55)]
|
|
[Description("发送汇款单")]
|
|
public bool SendRemittance { get; set; }
|
|
[IsDataGridColum(true, 56)]
|
|
[Description("分隔基础")]
|
|
public bool SplitAccount { get; set; }
|
|
[IsDataGridColum(true, 57)]
|
|
[Description("发货方式")]
|
|
[StringLength(50)]
|
|
public string ShipVia { get; set; }
|
|
[IsDataGridColum(true, 58)]
|
|
[Description("备注")]
|
|
[StringLength(50)]
|
|
public string Remarks { get; set; }
|
|
[IsDataGridColum(true, 59)]
|
|
[Description("承运人")]
|
|
[StringLength(50)]
|
|
public string Carrier { get; set; }
|
|
[IsDataGridColum(true, 60)]
|
|
[Description("采购联系人")]
|
|
[StringLength(50)]
|
|
public string Purchasecontact { get; set; }
|
|
[IsDataGridColum(true, 61)]
|
|
[Description("日记账集")]
|
|
[StringLength(50)]
|
|
public string DayBookSet { get; set; }
|
|
[IsDataGridColum(true, 62)]
|
|
[Description("看板供应商")]
|
|
public bool KanBanSupplier { get; set; }
|
|
[IsDataGridColum(true, 63)]
|
|
[Description("推销组")]
|
|
[StringLength(50)]
|
|
public string PromotionGroup { get; set; }
|
|
[IsDataGridColum(true, 64)]
|
|
[Description("采购员")]
|
|
[StringLength(50)]
|
|
public string Buyer { get; set; }
|
|
[IsDataGridColum(true, 65)]
|
|
[Description("价格表")]
|
|
[StringLength(50)]
|
|
public string PriceTable { get; set; }
|
|
[IsDataGridColum(true, 66)]
|
|
[Description("折扣表")]
|
|
[StringLength(50)]
|
|
public string DiscountTable { get; set; }
|
|
[IsDataGridColum(true, 67)]
|
|
[Description("固定价格")]
|
|
public bool FixedPrice { get; set; }
|
|
[IsDataGridColum(true, 68)]
|
|
[Description("非销售单价格单")]
|
|
[StringLength(50)]
|
|
public string NonSoPrice { get; set; }
|
|
[IsDataGridColum(true, 69)]
|
|
[Description("银行格式")]
|
|
[StringLength(50)]
|
|
public string BankFormat { get; set; }
|
|
[IsDataGridColum(true, 70)]
|
|
[Description("供应商银行")]
|
|
[StringLength(50)]
|
|
public string SupplierBank { get; set; }
|
|
[IsDataGridColum(true, 71)]
|
|
[Description("自有银行")]
|
|
[StringLength(50)]
|
|
public string OwnBank { get; set; }
|
|
|
|
|
|
[Key]
|
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int UID { get; set; }
|
|
[IsDataGridColum(true, 72)]
|
|
[Description("创建人")]
|
|
[StringLength(50)]
|
|
public string CreateUser { get; set; }
|
|
[IsDataGridColum(true, 73)]
|
|
[Description("创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
[IsDataGridColum(true, 74)]
|
|
[Description("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[Description("修改人")]
|
|
[StringLength(50)]
|
|
public string UpdateUser { get; set; }
|
|
|
|
[Description("修改时间")]
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
[Description("已删除")]
|
|
public bool IsDeleted { get; set; }
|
|
[Description("域")]
|
|
[StringLength(50)]
|
|
public string Domain { get; set; }
|
|
}
|
|
}
|