changes in model, actor roles adding in person edit page finished

This commit is contained in:
2024-10-08 19:56:14 +02:00
Unverified
parent 35e657d8d1
commit 4064f49240
38 changed files with 352 additions and 163 deletions

View File

@@ -1,28 +1,10 @@
using System.Text.Json.Serialization;
using WatchIt.Database.Model.Person;
namespace WatchIt.Common.Model.Roles;
public interface IActorRolePersonRequest
public interface IActorRolePersonRequest : IActorRoleRequest
{
#region PROPERTIES
[JsonPropertyName("media_id")]
long MediaId { get; set; }
public long MediaId { get; set; }
[JsonPropertyName("type_id")]
short TypeId { get; set; }
[JsonPropertyName("name")]
string Name { get; set; }
#endregion
#region PUBLIC METHODS
PersonActorRole CreateActorRole(long personId);
#endregion
}