21 lines
662 B
C#
21 lines
662 B
C#
using LCU.Library.Internal.ApiResponse.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LCU.Library.Internal.ArchiverApiModel.Models
|
|
{
|
|
public class ArchiveRequest : ReturnResponse
|
|
{
|
|
[Required]
|
|
public List<string> ArchiveIdentifiers { get; set; }
|
|
[Required]
|
|
public List<string> AllowedExensions { get; set; }
|
|
public DateTime? EffectiveDate { get; set; }
|
|
public int DaysFromDate { get; set; } = 0;
|
|
[Required]
|
|
public string ArchiveDestinationBase { get; set; }
|
|
public bool SucceedIfEmpty { get; set; } = false;
|
|
}
|
|
}
|