You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							49 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							49 lines
						
					
					
						
							1.1 KiB
						
					
					
				| using System; | |
| using PetaPoco; | |
| 
 | |
| namespace Pingchuan.BeijingSafeguard.Model | |
| { | |
|     [TableName("users")] | |
|     [PrimaryKey("id", AutoIncrement = true)] | |
|     public class User | |
|     { | |
|         [Column("id")] | |
|         public int Id { set; get; } | |
|  | |
|         [Column("org_id")] | |
|         public int OrgId { set; get; } | |
|  | |
|         [Column("gender")] | |
|         public int Gender { set; get; } | |
|  | |
|         [Column("enabled")] | |
|         public int Enabled { set; get; } | |
|  | |
|         [Column("real_name")] | |
|         public string RealName { set; get; } | |
|  | |
|         [Column("is_sa")] | |
|         public int IsSa { set; get; } | |
|  | |
|         [Column("login_name")] | |
|         public string LoginName { set; get; } | |
|  | |
|         [Column("login_password")] | |
|         public string LoginPassword { set; get; } | |
|  | |
|         [Column("compute_count")] | |
|         public int ComputeCount { get; set; } | |
|  | |
|         [Column("last_compute_time")] | |
|         public DateTime? LastComputeTime { get; set; } | |
|  | |
|         [Column("login_count")] | |
|         public int LoginCount { get; set; } | |
|  | |
|         [Column("last_login_time")] | |
|         public DateTime? LastLoginTime { get; set; } | |
|  | |
|         [Column("create_time")] | |
|         public DateTime CreateTime { set; get; } | |
|     } | |
| } |