You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
4.7 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
public partial class InvoiceRecord {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; }
[JsonProperty, Column(DbType = "decimal(12,2)")]
public decimal? AmountUSD { get; set; }
[JsonProperty]
public DateTime? ApiReadTime { get; set; }
[JsonProperty]
public DateTime? ApiSendTime { get; set; }
[JsonProperty, Column(DbType = "varchar(40)")]
public string ApplyUser { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string BuyerAccount { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string BuyerAddress { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string BuyerName { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BuyerPhone { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BuyerTaxNum { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BuyerTel { get; set; }
[JsonProperty, Column(DbType = "varchar(8)")]
public string Checker { get; set; }
[JsonProperty, Column(DbType = "varchar(8)")]
public string Clerk { get; set; }
[JsonProperty, Column(DbType = "varchar(40)")]
public string ClerkId { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CompId { get; set; }
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime CreateTime { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CreateUser { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string Email { get; set; }
[JsonProperty, Column(DbType = "varchar(2000)")]
public string ExtendData { get; set; }
[JsonProperty, Column(DbType = "varchar(64)")]
public string FromId { get; set; }
[JsonProperty, Column(DbType = "varchar(64)")]
public string FromSystem { get; set; }
[JsonProperty, Column(DbType = "varchar(12)")]
public string InvCode { get; set; }
[JsonProperty, Column(DbType = "varchar(8)")]
public string InvNum { get; set; }
[JsonProperty, Column(DbType = "varchar(12)")]
public string InvoiceCode { get; set; }
[JsonProperty]
public DateTime? InvoiceDate { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string InvoiceLine { get; set; }
[JsonProperty, Column(DbType = "varchar(8)")]
public string InvoiceNum { get; set; }
[JsonProperty, Column(DbType = "varchar(1)")]
public string InvoiceType { get; set; }
[JsonProperty, Column(Name = "mblno", DbType = "varchar(200)")]
public string Mblno { get; set; }
[JsonProperty]
public DateTime? ModifyTime { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string ModifyUser { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string OrderNo { get; set; }
[JsonProperty, Column(DbType = "varchar(8)")]
public string Payee { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string PdfNasUrl { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string PdfUrl { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string PictureUrl { get; set; }
[JsonProperty, Column(DbType = "varchar(2)")]
public string PushMode { get; set; }
[JsonProperty, Column(StringLength = 200)]
public string Remark { get; set; }
[JsonProperty, Column(StringLength = 200)]
public string RequireRemark { get; set; }
[JsonProperty, Column(DbType = "varchar(MAX)")]
public string ResultJson { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string SalerAccount { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string SalerAddress { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string SalerName { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string SalerTaxNum { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string SalerTel { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string SerialNo { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string Status { get; set; }
[JsonProperty, Column(DbType = "decimal(18,2)")]
public decimal? Total { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string TotalWords { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string UserId { get; set; }
}
}