mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-23 13:27:22 -05:00
30 lines
749 B
C#
30 lines
749 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using API.DTOs.Progress;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace API.Entities.Progress;
|
|
|
|
/// <summary>
|
|
/// Represents a single day's worth of Reading Sessions
|
|
/// </summary>
|
|
[Index(nameof(DateUtc), IsUnique = true)]
|
|
public class AppUserReadingHistory
|
|
{
|
|
public int Id { get; set; }
|
|
public DateTime DateUtc { get; set; }
|
|
public DateTime CreatedUtc { get; set; }
|
|
/// <summary>
|
|
/// JSON Column
|
|
/// </summary>
|
|
public DailyReadingDataDto Data { get; set; }
|
|
/// <summary>
|
|
/// JSON Column
|
|
/// </summary>
|
|
public IList<ClientInfoData> ClientInfoUsed { get; set; }
|
|
|
|
|
|
public int AppUserId { get; set; }
|
|
public virtual AppUser AppUser { get; set; }
|
|
}
|