Files
UniVerse/backend/UniVerse.Application/DTOs/Sync/SyncDtos.cs
T

21 lines
504 B
C#

namespace UniVerse.Application.DTOs.Sync;
public record SyncScheduleRequest(
string? SpecialtyCode,
DateTime? TimeMin,
DateTime? TimeMax,
IReadOnlyList<string>? TypeId
);
public record SyncResultDto(
int Created,
int Updated,
int Skipped,
string? Error,
IReadOnlyList<string>? Details = null
);
public record SyncStatusDto(DateTime? LastSyncAt, string Status, SyncResultDto? LastResult);
public record EmployeeDto(string? Id, string FullName, string? Department);