mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-20 14:00:35 -04: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;
|
|
}
|
|
}
|
|
} |