start new try with "core." id prefix for shared entities
This commit is contained in:
@@ -38,6 +38,9 @@ namespace zero.Core.Entities
|
||||
|
||||
/// <inheritdoc />
|
||||
public MediaType Type { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsCore { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -101,5 +104,10 @@ namespace zero.Core.Entities
|
||||
/// Type of the media
|
||||
/// </summary>
|
||||
MediaType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether this media item is part of the core database (for multi-tenant setup)
|
||||
/// </summary>
|
||||
bool IsCore { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,9 @@ namespace zero.Core.Entities
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public string ParentId { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsCore { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -20,5 +23,10 @@ namespace zero.Core.Entities
|
||||
/// Parent folder id
|
||||
/// </summary>
|
||||
string ParentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether this media folder is part of the core database (for multi-tenant setup)
|
||||
/// </summary>
|
||||
bool IsCore { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -77,7 +77,7 @@ namespace zero.Core.Entities
|
||||
}
|
||||
|
||||
|
||||
[Collection("BackofficeUsers")]
|
||||
[Collection("Users")]
|
||||
public interface IBackofficeUser : IZeroEntity, IZeroDbConventions, IIdentityUserWithRoles
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace zero.Core.Entities
|
||||
}
|
||||
|
||||
|
||||
[Collection("BackofficeUserRoles")]
|
||||
[Collection("Roles")]
|
||||
public interface IBackofficeUserRole : IZeroEntity, IZeroDbConventions, IIdentityUserRole
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user