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 = "user_action", DisableSyncStructure = true)] public partial class UserAction { /// /// 惟一编号 /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 行为表GID /// [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string ACTIONID { get; set; } /// /// 创建时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime CREATETIME { get; set; } /// /// 创建人GID /// [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string CREATEUSER { get; set; } /// /// 最后一次更新操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? MODIFIEDTIME { get; set; } /// /// 最后一次更新操作人GID /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } /// /// 用户表GID /// [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string USERID { get; set; } } }