using Microsoft.EntityFrameworkCore;

namespace PlaylistShared.Data.Entities;

public enum AccessLevel { All, Authorized, None }
public enum DeleteAccessLevel { All, Authorized, AdderOnly, OwnerOnly }

[Owned]
public class PlaylistPermissions
{
    public AccessLevel View { get; set; } = AccessLevel.All;
    public AccessLevel Add { get; set; } = AccessLevel.Authorized;
    public DeleteAccessLevel Delete { get; set; } = DeleteAccessLevel.OwnerOnly;
}