repo creation with initial code after cloning public repo
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Database.Implementations.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Database.Implementations.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface abstracting an entity that has artwork.
|
||||
/// </summary>
|
||||
public interface IHasArtwork
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's artwork.
|
||||
/// </summary>
|
||||
ICollection<Artwork> Artwork { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Database.Implementations.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Database.Implementations.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has companies.
|
||||
/// </summary>
|
||||
public interface IHasCompanies
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's companies.
|
||||
/// </summary>
|
||||
ICollection<Company> Companies { get; }
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An interface abstracting an entity that has a concurrency token.
|
||||
/// </summary>
|
||||
public interface IHasConcurrencyToken
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the version of this row. Acts as a concurrency token.
|
||||
/// </summary>
|
||||
uint RowVersion { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Called when saving changes to this entity.
|
||||
/// </summary>
|
||||
void OnSavingChanges();
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Database.Implementations.Entities;
|
||||
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has permissions.
|
||||
/// </summary>
|
||||
public interface IHasPermissions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's permissions.
|
||||
/// </summary>
|
||||
ICollection<Permission> Permissions { get; }
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Database.Implementations.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has releases.
|
||||
/// </summary>
|
||||
public interface IHasReleases
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's releases.
|
||||
/// </summary>
|
||||
ICollection<Release> Releases { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user