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 = "Import_appstate", DisableSyncStructure = true)] public partial class ImportAppstate { [JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)] public int Id { get; set; } [JsonProperty, Column(Name = "app_id", DbType = "varchar(50)", IsNullable = false)] public string AppId { get; set; } [JsonProperty, Column(Name = "cancellation")] public byte? Cancellation { get; set; } = 0; [JsonProperty, Column(Name = "cancellation_date")] public DateTime? CancellationDate { get; set; } [JsonProperty, Column(Name = "cargo_id")] public int CargoId { get; set; } [JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)] public string ContractNo { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string Remark { get; set; } [JsonProperty, Column(Name = "weight", DbType = "numeric(18,5)")] public decimal? Weight { get; set; } } }