using DigitalData.UserManager.Application.DTOs.Base;
using DigitalData.UserManager.Application.DTOs.Group;
using DigitalData.UserManager.Application.DTOs.User;

namespace DigitalData.UserManager.Application.DTOs.UserRep
{
    public record UserRepReadDto(
        int Id,
        int UserId,
        int? RepGroupId,
        int? GroupId,
        string AddedWho,
        string ChangedWho,
        int? RepUserId,
        UserReadDto? User,
        GroupReadDto? RepGroup,
        GroupReadDto? Group,
        UserReadDto? RepUser,
        DateTime? AddedWhen,
        DateTime? ChangedWhen
    ) : BaseReadDto(Id, AddedWho, AddedWhen, ChangedWho, ChangedWhen);
}