using System; using SqlSugar; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace Tiger.Model { /// /// ʵÌ壺BSµÇ¼ÈÕÖ¾ /// [Description("Primary:ID")] [DisplayName("BSµÇ¼ÈÕÖ¾")] [Serializable] [SugarTable("LOG_BS_LOGIN")] public class LOG_BS_LOGIN : DbEntityOnlyID { #region ¹¹Ô캯Êý /// /// ʵÌ壺BSµÇ¼ÈÕÖ¾ /// public LOG_BS_LOGIN() {} #endregion #region ¹«¹²ÊôÐÔ /// /// SessionID /// [DisplayName("SessionID")] public string SESSION_ID { get; set; } /// /// ¹¤³§ /// [DisplayName("¹¤³§")] public string FACTORY { get; set; } /// /// Óû§ID /// [DisplayName("Óû§ID")] public string USER_ID { get; set; } /// /// µÇ¼ÐÅÏ¢ /// [DisplayName("µÇ¼ÐÅÏ¢")] public string LOGIN_FROM { get; set; } /// /// µÇ¼Channel /// [DisplayName("µÇ¼Channel")] public string LOGIN_CHANNEL { get; set; } /// /// µÇ¼URL /// [DisplayName("µÇ¼URL")] public string LOGIN_URL { get; set; } /// /// µÇ¼ʱ¼ä /// [DisplayName("µÇ¼ʱ¼ä")] public DateTime LOGIN_TIME { get; set; } = DateTime.MinValue; /// /// µÇ³öURL /// [DisplayName("µÇ³öURL")] public string LOGOUT_URL { get; set; } /// /// µÇ³öʱ¼ä /// [DisplayName("µÇ³öʱ¼ä")] public DateTime LOGOUT_TIME { get; set; } = DateTime.MinValue; /// /// ×éÖ¯±àÂë /// [DisplayName("×éÖ¯±àÂë")] public string ORG_CODE { get; set; } /// /// Éú²úµ¥Ôª±àÂë /// [DisplayName("Éú²úµ¥Ôª±àÂë")] public string PROD_CODE { get; set; } /// /// ²Ö¿âµ¥Ôª±àÂë /// [DisplayName("²Ö¿âµ¥Ôª±àÂë")] public string WH_CODE { get; set; } #endregion #region ÐéÄâÊôÐÔ /*Àý×Ó [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ #endregion #region Íâ¼üÊôÐÔ /*Àý×Ó //Ò»¶ÔÒ»Íâ¼üµ¼º½ [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//Ò»¶ÔÒ» ClassAIdÊÇLOG_BS_LOGINÀàÀïÃæµÄÍâ¼üID×Ö¶Î public ClassA ClassA { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull //Ò»¶Ô¶àÍâ¼üµ¼º½ [Navigate(NavigateType.OneToMany, nameof(ClassA.LOG_BS_LOGINId))]//ClassA±íÖеÄLOG_BS_LOGINId public List ClassAList { get; set; }//×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull //¶à¶Ô¶àÍâ¼üµ¼º½ [Navigate(typeof(MappingClass), nameof(MappingClass.LOG_BS_LOGINId), nameof(MappingClass.ClassAId))]//×¢Òâ˳Ðò public List ClassAList { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull */ #endregion #region ö¾Ù±äÁ¿ /*Àý×Ó public enum FieldNames { [Description("ö¾ÙÃèÊö0")] Enum0, [Description("ö¾ÙÃèÊö1")] Enum1, } */ #endregion #region ¹«¹²·½·¨ #endregion }//endClass }