mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-11 20:42:53 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
27 lines
847 B
C#
27 lines
847 B
C#
using Kavita.Models.Entities.Enums;
|
|
using Kavita.Models.Entities.MetadataMatching;
|
|
|
|
namespace Kavita.Models.Entities;
|
|
|
|
public class MetadataFieldMapping
|
|
{
|
|
public int Id { get; set; }
|
|
public MetadataFieldType SourceType { get; set; }
|
|
public MetadataFieldType DestinationType { get; set; }
|
|
/// <summary>
|
|
/// The string in the source
|
|
/// </summary>
|
|
public string SourceValue { get; set; }
|
|
/// <summary>
|
|
/// Write the string as this in the Destination (can also just be the Source)
|
|
/// </summary>
|
|
public string DestinationValue { get; set; }
|
|
/// <summary>
|
|
/// If true, the tag will be Moved over vs Copied over
|
|
/// </summary>
|
|
public bool ExcludeFromSource { get; set; }
|
|
|
|
public int MetadataSettingsId { get; set; }
|
|
public virtual MetadataSettings MetadataSettings { get; set; }
|
|
}
|