20 lines
779 B
C#
20 lines
779 B
C#
using JD.LocalizationExport.Service.API;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace JD.LocalizationExport.Service.Implementation.Serialization
|
|
{
|
|
public class ExportConfig
|
|
{
|
|
[JsonProperty("description", Required = Required.Always)]
|
|
public string Description { get; set; }
|
|
|
|
[JsonProperty("saveFilePath", Required = Required.Always)] // Relative to the export folder path or web address
|
|
public string SaveFilePath { get; set; }
|
|
|
|
[JsonProperty("exportFolderPath", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
|
|
public string ExportFolderPath { get; set; }
|
|
|
|
[JsonProperty("repositoryType", Required = Required.Always)]
|
|
public ExportRepositoryType RepositoryType { get; set; }
|
|
}
|
|
}
|