Files
WatchIt/WatchIt.Common/WatchIt.Common.Model/Roles/ICreatorRolePersonRequest.cs

25 lines
460 B
C#

using System.Text.Json.Serialization;
using WatchIt.Database.Model.Person;
namespace WatchIt.Common.Model.Roles;
public interface ICreatorRolePersonRequest
{
#region PROPERTIES
[JsonPropertyName("media_id")]
long MediaId { get; set; }
[JsonPropertyName("type_id")]
short TypeId { get; set; }
#endregion
#region PUBLIC METHODS
PersonCreatorRole CreateCreatorRole(long personId);
#endregion
}