mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			445 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			445 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
 | 
						|
namespace Kyoo.Models.Attributes
 | 
						|
{
 | 
						|
	[AttributeUsage(AttributeTargets.Property, Inherited = false)]
 | 
						|
	public class EditableRelationAttribute : Attribute { }
 | 
						|
 | 
						|
	[AttributeUsage(AttributeTargets.Property)]
 | 
						|
	public class LoadableRelationAttribute : Attribute
 | 
						|
	{
 | 
						|
		public string RelationID { get; }
 | 
						|
		
 | 
						|
		public LoadableRelationAttribute() {}
 | 
						|
 | 
						|
		public LoadableRelationAttribute(string relationID)
 | 
						|
		{
 | 
						|
			RelationID = relationID;
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |