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(Name = "currency_exchange_inv", DisableSyncStructure = true)] public partial class CurrencyExchangeInv { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty, Column(DbType = "varchar(36)")] public string COMPANYID { get; set; } [JsonProperty, Column(DbType = "varchar(40)")] public string CompId { get; set; } [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime CREATETIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string CREATEUSER { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string CURRENCYID { get; set; } [JsonProperty] public DateTime? DELETETIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string DELETEUSER { get; set; } [JsonProperty] public DateTime? ENDTIME { get; set; } [JsonProperty] public bool? ISDELETE { get; set; } = false; [JsonProperty] public DateTime? MODIFIEDTIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } [JsonProperty] public DateTime? STARTTIME { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TYPE { get; set; } [JsonProperty, Column(DbType = "numeric(18,5)")] public decimal? VALUE { get; set; } } }