mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
58fdaaf9aa
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
18 lines
547 B
C#
18 lines
547 B
C#
using System.Collections.Generic;
|
|
using Kavita.Models.Entities.Interfaces;
|
|
using Kavita.Models.Entities.Metadata;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Kavita.Models.Entities;
|
|
|
|
[Index(nameof(NormalizedTitle), IsUnique = true)]
|
|
public class Tag : ITag
|
|
{
|
|
public int Id { get; set; }
|
|
public string Title { get; set; } = null!;
|
|
public string NormalizedTitle { get; set; } = null!;
|
|
|
|
public ICollection<SeriesMetadata> SeriesMetadatas { get; set; } = null!;
|
|
public ICollection<Chapter> Chapters { get; set; } = null!;
|
|
}
|