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

1 year ago
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; }
}
}