Changed RecActionView.Profile to use ProfileView type instead of Profile entity. Added new ProfileViewDto class to represent profile data as a DTO, including related properties and audit fields.
43 lines
930 B
C#
43 lines
930 B
C#
namespace ReC.Application.Common.Dto;
|
|
|
|
public class ProfileViewDto
|
|
{
|
|
public long Id { get; init; }
|
|
|
|
public IEnumerable<RecActionViewDto>? RecActions { get; set; }
|
|
|
|
public bool Active { get; init; }
|
|
|
|
public byte TypeId { get; init; }
|
|
|
|
public string? Type { get; init; }
|
|
|
|
public string? Mandantor { get; init; }
|
|
|
|
public string? ProfileName { get; init; }
|
|
|
|
public string? Description { get; init; }
|
|
|
|
public byte LogLevelId { get; init; }
|
|
|
|
public string? LogLevel { get; init; }
|
|
|
|
public short LanguageId { get; init; }
|
|
|
|
public string? Language { get; init; }
|
|
|
|
public string? AddedWho { get; init; }
|
|
|
|
public DateTime AddedWhen { get; init; }
|
|
|
|
public string? ChangedWho { get; init; }
|
|
|
|
public DateTime? ChangedWhen { get; init; }
|
|
|
|
public DateTime? FirstRun { get; init; }
|
|
|
|
public DateTime? LastRun { get; init; }
|
|
|
|
public string? LastResult { get; init; }
|
|
}
|