start new try with "core." id prefix for shared entities

This commit is contained in:
2020-11-25 00:51:01 +01:00
parent 0eaeb613ec
commit aa7d2dbea9
7 changed files with 37 additions and 3 deletions
+8
View File
@@ -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; }
}
}
+8
View File
@@ -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; }
}
}