mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
23 lines
691 B
C#
23 lines
691 B
C#
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.KavitaPlus.Metadata;
|
|
|
|
public sealed record MetadataFieldMappingDto
|
|
{
|
|
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; }
|
|
}
|