feat(release): front int PK with app-minted GUID EntryKey on the public addressing surface (P11 W5, 11.H)
This commit is contained in:
@@ -12,6 +12,12 @@ namespace DeepDrftModels.Entities;
|
||||
// explicitly to satisfy the generic constraints on Repository<>/Manager<>/etc.
|
||||
public class ReleaseEntity : BaseEntity, IEntity
|
||||
{
|
||||
// App-minted GUID-string public handle, mirroring TrackEntity.EntryKey exactly: required string,
|
||||
// entry_key column, unique index, born app-side as Guid.NewGuid().ToString() at release creation
|
||||
// (the FindOrCreateRelease path). Fronts the int Id (the DB-only PK, unused by the app) so the
|
||||
// public site/API address releases by an opaque key, never the transparent sequential id
|
||||
// (Phase 11 §3e). Unlike a track's EntryKey it has no vault job — it is purely an identifier.
|
||||
public required string EntryKey { get; set; }
|
||||
public required string Title { get; set; }
|
||||
public required string Artist { get; set; }
|
||||
public string? Genre { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user