2020-03-11 21:56:55 +00:00
|
|
|
// /***************************************************************************
|
|
|
|
|
// Aaru Data Preservation Suite
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : SyncDto.cs
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
|
|
|
|
// Component : Aaru Server.
|
|
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// DTO for syncing server and client databases.
|
|
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2024-12-19 10:45:18 +00:00
|
|
|
// Copyright © 2011-2025 Natalia Portillo
|
2020-03-11 21:56:55 +00:00
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
2022-03-07 07:36:43 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2022-11-15 15:58:42 +00:00
|
|
|
namespace Aaru.Dto;
|
|
|
|
|
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>DTO for database synchronization.</summary>
|
|
|
|
|
public class SyncDto
|
2019-01-01 16:43:34 +00:00
|
|
|
{
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>List of USB vendors</summary>
|
|
|
|
|
public List<UsbVendorDto> UsbVendors { get; set; }
|
2023-10-03 23:12:29 +01:00
|
|
|
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>List of USB products</summary>
|
|
|
|
|
public List<UsbProductDto> UsbProducts { get; set; }
|
2023-10-03 23:12:29 +01:00
|
|
|
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>List of CD read offsets</summary>
|
|
|
|
|
public List<CdOffsetDto> Offsets { get; set; }
|
2023-10-03 23:12:29 +01:00
|
|
|
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>List of known devices</summary>
|
|
|
|
|
public List<DeviceDto> Devices { get; set; }
|
2023-10-03 23:12:29 +01:00
|
|
|
|
2021-12-08 20:34:36 +00:00
|
|
|
/// <summary>List of known iNES/NES 2.0 headers</summary>
|
|
|
|
|
public List<NesHeaderDto> NesHeaders { get; set; }
|
2019-01-01 16:43:34 +00:00
|
|
|
}
|