models added, roles endpoints in media controller added
This commit is contained in:
19
WatchIt.Common/WatchIt.Common.Model/Roles/CreatorRole.cs
Normal file
19
WatchIt.Common/WatchIt.Common.Model/Roles/CreatorRole.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Roles;
|
||||
|
||||
public class CreatorRole
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
[JsonPropertyName("type_id")]
|
||||
public required short TypeId { get; set; }
|
||||
|
||||
[JsonPropertyName("media_id")]
|
||||
public required long MediaId { get; set; }
|
||||
|
||||
[JsonPropertyName("person_id")]
|
||||
public required long PersonId { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user