Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files, folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*). 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>
101 lines
2.4 KiB
C#
101 lines
2.4 KiB
C#
using RSecurityBackend.Models.Auth.Db;
|
|
using System;
|
|
|
|
namespace RMuseum.Models.DiwanIntegration
|
|
{
|
|
/// <summary>
|
|
/// PDFBook Diwan Link
|
|
/// </summary>
|
|
public class PDFDiwanLink
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
public Guid Id { get; set; }
|
|
/// <summary>
|
|
/// Diwan Post Id
|
|
/// </summary>
|
|
public int DiwanPostId { get; set; }
|
|
|
|
/// <summary>
|
|
/// diwan url
|
|
/// </summary>
|
|
public string DiwanUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// diwan title
|
|
/// </summary>
|
|
public string DiwanTitle { get; set; }
|
|
|
|
/// <summary>
|
|
/// pdf book id
|
|
/// </summary>
|
|
public int PDFBookId { get; set; }
|
|
|
|
/// <summary>
|
|
/// page number
|
|
/// </summary>
|
|
public int PageNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// User Id who suggested the link
|
|
/// </summary>
|
|
public Guid SuggestedById { get; set; }
|
|
|
|
/// <summary>
|
|
/// Suggestion Date
|
|
/// </summary>
|
|
public DateTime SuggestionDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// User who suggested the link
|
|
/// </summary>
|
|
public RAppUser SuggestedBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// User id who reviewed the link
|
|
/// </summary>
|
|
public Guid? ReviewerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// User who reviewed the link
|
|
/// </summary>
|
|
public virtual RAppUser Reviewer { get; set; }
|
|
|
|
/// <summary>
|
|
/// Review Date
|
|
/// </summary>
|
|
public DateTime ReviewDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// review result
|
|
/// </summary>
|
|
public ReviewResult ReviewResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// Synchronized with diwan
|
|
/// </summary>
|
|
public bool Synchronized { get; set; }
|
|
|
|
/// <summary>
|
|
/// is the is the text original source?
|
|
/// </summary>
|
|
public bool IsTextOriginalSource { get; set; }
|
|
|
|
/// <summary>
|
|
/// PDF Page Title
|
|
/// </summary>
|
|
public string PDFPageTitle { get; set; }
|
|
|
|
/// <summary>
|
|
/// external thumbnail image url
|
|
/// </summary>
|
|
public string ExternalThumbnailImageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// suggested using machine computations
|
|
/// </summary>
|
|
public bool SuggestedByMachine { get; set; }
|
|
}
|
|
}
|