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.

275 lines
6.5 KiB

4 years ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CK.SCP.Models.Base;
using CK.SCP.Models.Enums;
namespace CK.SCP.Models.ExchangeCenterTables
{
/// <summary>
/// ��Ʊ����
/// </summary>
[Description("��Ʊ����")]
public class TED_INVOICE_MSTR : TED_BASE,ITaskTable
{
[Description("״̬")]
[StringLength(50)]
public string Status { get; set; }
[Description("")]
public int Invoice_ID { get; set; }
[Description("��Ʊ��")]
[StringLength(50)]
public string InvoiceReference { get; set; }
[Description("�ɹ�����")]
[StringLength(50)]
public string PurchaseOrder { get; set; }
[Description("�ջ�����")]
[StringLength(50)]
public string ReceiveNbr { get; set; }
[Description("������Ʊ")]
public bool CreateInvoice { get; set; }
[Description("��Ӧ��")]
[StringLength(50)]
public string Supplier { get; set; }
[Description("��Ӧ������")]
[StringLength(50)]
public string SupplierName { get; set; }
[Description("��ַ1")]
[StringLength(50)]
public string AddressStreet1 { get; set; }
[Description("��ַ2")]
[StringLength(50)]
public string AddressStreet2 { get; set; }
[Description("��ַ3")]
[StringLength(50)]
public string AddressStreet3 { get; set; }
[Description("����")]
[StringLength(50)]
public string City { get; set; }
[Description("ʡ")]
[StringLength(50)]
public string StateCode { get; set; }
[Description("�ʱ�")]
[StringLength(50)]
public string ZIP { get; set; }
[Description("��ʽ")]
[StringLength(50)]
public string Format { get; set; }
[Description("����")]
[StringLength(50)]
public string Country { get; set; }
[Description("��")]
[StringLength(50)]
public string County { get; set; }
[Description("��������")]
public DateTime PostingDate { get; set; }
[Description("����")]
[StringLength(50)]
public string Currency { get; set; }
[Description("�������к�")]
[StringLength(50)]
public string OwnBank { get; set; }
[Description("��Ʊ����")]
public DateTime InvoiceDate { get; set; }
[Description("֧������")]
[StringLength(50)]
public string PaymentCondCode { get; set; }
[Description("������")]
public DateTime InvoiceDueDate { get; set; }
[Description("��Ʊ�����˻�")]
[StringLength(50)]
public string InvoiceControlGLCode { get; set; }
[Description("��Ʊ�ɱ�����")]
[StringLength(50)]
public string InvoiceCostCentreCode { get; set; }
[Description("��Ʊ�ۿ��˻�")]
[StringLength(50)]
public string InvoiceDiscountGLCode { get; set; }
[Description("��Ʊ�ۿ۳ɱ�����")]
[StringLength(50)]
public string InvoiceDiscountCostCentre { get; set; }
[Description("")]
[StringLength(50)]
public string CompanyCode { get; set; }
[Description("")]
[StringLength(50)]
public string InvoiceRemark { get; set; }
[Description("��Ʊ����")]
[StringLength(50)]
public string InvoiceBankNbr { get; set; }
[Description("������ʽ")]
[StringLength(50)]
public string InvoiceCheckForm { get; set; }
[Description("�Ƿ���������")]
public bool InvoiceIsHoldAmount { get; set; }
[Description("TC��������")]
public decimal InvoiceHoldAmountTC { get; set; }
[Description("")]
public bool InvoiceIsStatusFinal { get; set; }
[Description("��Ʊ���˻�����")]
[StringLength(50)]
public string InvoiceDivisionCode { get; set; }
[Description("��Ʊ�ۿ۷��˻�����")]
[StringLength(50)]
public string InvoiceDiscountDivision { get; set; }
[Description("")]
[StringLength(50)]
public string Rowid { get; set; }
[Description("")]
[StringLength(50)]
public string ParentRowid { get; set; }
[Description("��")]
public int InvoicePostingYear { get; set; }
[Description("�ռ��˴���")]
[StringLength(50)]
public string JournalCode { get; set; }
[Description("ƾ֤")]
public int InvoiceVoucher { get; set; }
[Description("")]
public bool APMatchingIsStatusFinal { get; set; }
[Description("")]
public int InvoiceRegistrationNbr { get; set; }
[Description("��������")]
[StringLength(50)]
public string InvoiceTSMNumber { get; set; }
[Description("")]
public bool CreateWithAmountIsTax { get; set; }
[Description("TC��Ʊ����")]
public decimal InvoiceAmountTC { get; set; }
[Description("Ӧ��˰")]
public bool InvoiceIsTaxable { get; set; }
[Key]
public Guid GUID { get; set; } = Guid.NewGuid();
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Description("������")]
[StringLength(50)]
public string CreateUser { get; set; }
[Description("����ʱ��")]
public DateTime CreateTime { get; set; }
[Description("��ע")]
public string Remark { get; set; }
[Description("��������")]
public Guid TaskID { get; set; }
[Description("��������")]
[StringLength(50)]
public string CommandType { get; set; }
public Guid DataID { get; set; }
[Description("��")]
[StringLength(50)]
public string Domain { get; set; }
[Description("�ص�")]
[StringLength(50)]
public string Site { get; set; }
/// <summary>
/// ��Ʊ��
/// </summary>
public string CInvoiceReference { get; set; }
/// <summary>
/// ��Ʊ����
/// </summary>
public string CInvoiceDescription { get; set; }
/// <summary>
/// ��Ʊ����
/// </summary>
public string CInvoiceType { get; set; }
/// <summary>
/// �ɱ�����
/// </summary>
public string CInvoiceCostCenterCode { get; set; }
/// <summary>
/// ���˻�
/// </summary>
public string CInvoiceDivisionCode { get; set; }
}
}