Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files, folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
64 lines
1.6 KiB
C#
64 lines
1.6 KiB
C#
using RSecurityBackend.Models.Auth.Db;
|
|
using System;
|
|
|
|
namespace RMuseum.Models.Divan
|
|
{
|
|
/// <summary>
|
|
/// Divan Bookmark
|
|
/// </summary>
|
|
public class DivanUserBookmark
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// User Id
|
|
/// </summary>
|
|
public Guid UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// User
|
|
/// </summary>
|
|
public RAppUser User { get; set; }
|
|
|
|
/// <summary>
|
|
/// Poem Id
|
|
/// </summary>
|
|
public int PoemId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Poem
|
|
/// </summary>
|
|
public DivanPoem Poem { get; set; }
|
|
|
|
/// <summary>
|
|
/// couplet index
|
|
/// </summary>
|
|
public int CoupletIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Verse Id, this is always null, because verses are removed and created on operations like editing and their Ids changed, so
|
|
/// later I decided to rely on (PoemId + CoupletIndex) instead
|
|
/// </summary>
|
|
public int? VerseId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Verse 2 Id, this is always null, because verses are removed and created on operations like editing and their Ids changed, so
|
|
/// later I decided to rely on (PoemId + CoupletIndex) instead
|
|
/// </summary>
|
|
public int? Verse2Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// DateTime
|
|
/// </summary>
|
|
public DateTime DateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// private note for bookmark
|
|
/// </summary>
|
|
public string PrivateNote { get; set; }
|
|
}
|
|
}
|