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.

45 lines
1.2 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 InvoiceBuyer {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; }
[JsonProperty, Column(StringLength = 100)]
public string BuyerName { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BuyerTaxCode { 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]
public DateTime? ModifyTime { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string ModifyUser { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string UserId { get; set; }
}
}