mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using FreeSql.DataAnnotations;
 | 
						|
using Newtonsoft.Json;
 | 
						|
using System.ComponentModel;
 | 
						|
#nullable disable
 | 
						|
 | 
						|
namespace Densen.Models.ids
 | 
						|
{
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// 用户声明
 | 
						|
    /// </summary>
 | 
						|
    [JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
 | 
						|
    public partial class AspNetUserClaims
 | 
						|
    {
 | 
						|
 | 
						|
        [DisplayName("ID")]
 | 
						|
        [JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
 | 
						|
        public int Id { get; set; }
 | 
						|
 | 
						|
        [DisplayName("用户ID")]
 | 
						|
        [JsonProperty, Column(StringLength = -2, IsNullable = false)]
 | 
						|
        public string UserId { get; set; }
 | 
						|
 | 
						|
        [DisplayName("声明类型")]
 | 
						|
        [JsonProperty, Column(StringLength = -2)]
 | 
						|
        public string ClaimType { get; set; }
 | 
						|
 | 
						|
        [DisplayName("值")]
 | 
						|
        [JsonProperty, Column(StringLength = -2)]
 | 
						|
        public string ClaimValue { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 用户
 | 
						|
        /// </summary>
 | 
						|
        [Navigate(nameof(UserId))]
 | 
						|
        public virtual AspNetUsers AspNetUsers { get; set; }
 | 
						|
 | 
						|
    }
 | 
						|
} |