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 = "workflow_using", DisableSyncStructure = true)] public partial class WorkflowUsing { [JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)] public string BSNO { get; set; } [JsonProperty, Column(IsPrimary = true)] public int TYPENO { get; set; } = 0; [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? CREATETIME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string CurrentID { get; set; } [JsonProperty, Column(DbType = "nchar(10)")] public string DELETETIME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DELETEUSER { get; set; } [JsonProperty] public byte? FINISHED { get; set; } = 0; [JsonProperty] public byte? ISDELETE { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(50)")] public string OP { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string PreviousSTEPID { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string Reason { get; set; } [JsonProperty, Column(Name = "reject_time")] public DateTime? RejectTime { get; set; } [JsonProperty, Column(Name = "rejector_id", DbType = "varchar(50)")] public string RejectorId { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string STEPNO { get; set; } = "0"; [JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)] public string WORKFLOWID { get; set; } } }