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.

312 lines
10 KiB

1 year ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangkeTec.SDMS.Model.Attributes;
using ChangkeTec.SDMS.Model.Base;
namespace ChangkeTec.SDMS.Model.DataCenterTables
{
[Description("�ͻ���")]
public class TS_CUSTOMER : IUpdatableTable, ISoftDelete, IDomainSite
{
[Required(ErrorMessage = "���벻��Ϊ��")]
[Index("IndexCustomer", Order = 0, IsUnique = true, IsClustered = false)]
[IsDataGridColum(true, 1)]
[Description("�ͻ�����")]
[StringLength(50)]
public string CustomerCode { get; set; }
[IsDataGridColum(true, 2)]
[Description("�ͻ�����")]
[StringLength(50)]
public string CustomerName { 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("����")]
[StringLength(50)]
public string 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("�ʱ�")]
[StringLength(50)]
public string 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("�绰")]
[StringLength(50)]
public string 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("����")]
[StringLength(50)]
public string Fax { get; set; }
[IsDataGridColum(true, 18)]
[Description("���Դ���")]
[StringLength(50)]
public string LanguageCode { get; set; }
[IsDataGridColum(true, 19)]
[Description("�����ʼ�")]
[StringLength(50)]
public string Email { get; set; }
[IsDataGridColum(true, 20)]
[Description("��ַ")]
[StringLength(50)]
public string Internet { get; set; }
[IsDataGridColum(true, 21)]
[Description("��˰��ַ")]
[StringLength(50)]
public string AddressIsTaxable { get; set; }
[IsDataGridColum(true, 22)]
[Description("��˰")]
[StringLength(50)]
public string 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("����˰")]
[StringLength(50)]
public string TaxInCity { get; set; }
[IsDataGridColum(true, 29)]
[Description("˰��")]
[StringLength(50)]
public string TaxZone { get; set; }
[IsDataGridColum(true, 30)]
[Description("˰��")]
[StringLength(50)]
public string 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("��Ҫ��ϵ��")]
[StringLength(50)]
public string ContactIsPrimary { get; set; }
[IsDataGridColum(true, 38)]
[Description("��Ҫ��ϵ��")]
[StringLength(50)]
public string ContactIsSecondary { get; set; }
[IsDataGridColum(true, 39)]
[Description("��������")]
[StringLength(50)]
public string Compens { get; set; }
[IsDataGridColum(true, 40)]
[Description("��Ʊ�����ļ�")]
[StringLength(50)]
public string GlProfileInvoice { get; set; }
[IsDataGridColum(true, 41)]
[Description("����Ʊ�ݿ����ļ�")]
[StringLength(50)]
public string GlProfileCreditNote { get; set; }
[IsDataGridColum(true, 42)]
[Description("Ԥ���������ļ�")]
[StringLength(50)]
public string GlProfilePrepayment { get; set; }
[IsDataGridColum(true, 43)]
[Description("�ۼ������ļ�")]
[StringLength(50)]
public string GLProfileDeduction { get; set; }
[IsDataGridColum(true, 44)]
[Description("�������˿����ļ�")]
[StringLength(50)]
public string AccountGLProfile { get; set; }
[IsDataGridColum(true, 45)]
[Description("�������ÿ����ļ�")]
[StringLength(50)]
public string FinanceChargeProfile { get; set; }
[IsDataGridColum(true, 46)]
[Description("���˻������ļ�")]
[StringLength(50)]
public string SubAccountProfile { get; set; }
[IsDataGridColum(true, 47)]
[Description("����")]
[StringLength(50)]
public string Currency { get; set; }
[IsDataGridColum(true, 48)]
[Description("�ͻ�����")]
[StringLength(50)]
public string Customertype { get; set; }
[IsDataGridColum(true, 49)]
[Description("֧����")]
[StringLength(50)]
public string CreditTerms { get; set; }
[IsDataGridColum(true, 50)]
[Description("��Ʊ״̬����")]
[StringLength(50)]
public string InvoiceStatusCode { get; set; }
[Description("������")]
[StringLength(50)]
public string PaymentGroup { get; set; }
[Description("�˵���ϸ��")]
[StringLength(50)]
public string BillingSchedule { get; set; }
[Description("Ʊ���տ���")]
[StringLength(50)]
public string BillPayee { get; set; }
[Description("��Ʊ��Ȩ")]
[StringLength(50)]
public string InvoicebyAuthorization { get; set; }
[IsDataGridColum(true, 51)]
[Description("����Ա")]
[StringLength(50)]
public string SalesPerson { get; set; }
[IsDataGridColum(true, 52)]
[Description("������ʽ")]
[StringLength(50)]
public string ShipVia { get; set; }
[IsDataGridColum(true, 53)]
[Description("ת��˰")]
[StringLength(50)]
public string Resale { get; set; }
[IsDataGridColum(true, 54)]
[Description("��ע")]
[StringLength(50)]
public string Remarks { get; set; }
[IsDataGridColum(true, 55)]
[Description("����")]
[StringLength(50)]
public string Region { get; set; }
[IsDataGridColum(true, 56)]
[Description("�ۿ۱�")]
[StringLength(50)]
public string DiscountTable { get; set; }
[IsDataGridColum(true, 57)]
[Description("�̶��۸�")]
[StringLength(50)]
public string FixfdPrice { get; set; }
[IsDataGridColum(true, 58)]
[Description("�ռ��˼�")]
[StringLength(50)]
public string DayBookSet { get; set; }
[IsDataGridColum(true, 59)]
[Description("���и�ʽ")]
[StringLength(50)]
public string BankFormat { get; set; }
[IsDataGridColum(true, 60)]
[Description("�ͻ�����")]
[StringLength(50)]
public string CustomerBank { get; set; }
[IsDataGridColum(true, 61)]
[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, 62)]
[Description("������")]
[StringLength(50)]
public string CreateUser { get; set; }
[IsDataGridColum(true, 63)]
[Description("����ʱ��")]
public DateTime CreateTime { get; set; }
[IsDataGridColum(true, 64)]
[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; }
[IsDataGridColum(true, 65)]
[Description("��")]
[StringLength(50)]
public string Domain { get; set; }
[IsDataGridColum(true, 66)]
[Description("�ص�")]
[StringLength(50)]
public string Site { get; set; }
}
}