 381f9a4808
			
		
	
	381f9a4808
	
	
	
		
			
			* add messagepack attributes * fix isnullorempty * bump api version --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			453 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			453 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using MareSynchronos.API.Data;
 | |
| using MareSynchronos.API.Data.Enum;
 | |
| using MessagePack;
 | |
| 
 | |
| namespace MareSynchronos.API.Dto.User;
 | |
| 
 | |
| [MessagePackObject(keyAsPropertyName: true)]
 | |
| public record UserPairDto(UserData User, UserPermissions OwnPermissions, UserPermissions OtherPermissions) : UserDto(User)
 | |
| {
 | |
|     public UserPermissions OwnPermissions { get; set; } = OwnPermissions;
 | |
|     public UserPermissions OtherPermissions { get; set; } = OtherPermissions;
 | |
| } |