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
275 lines
6.5 KiB
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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|