- Removed `Id`, `Headlines`, and `States` from `ObjectDto`; added `State` property of type `ObjectStateDto?`. - Completely removed `ProfileControlsTFDto` and `StateDto` classes. - Removed `Id` from `ProfileDto`, keeping `TypeId` unchanged. - Updated `MappingProfile` to remove mappings for `ProfileControlsTFDto` and `StateDto`, and changed mapping for `PControlsTF` to `PControlsTFDto`. - Introduced new `ObjectStateDto` class with properties for `Intl`, `Others`, and a collection of `TFControls`. - Added new `PControlsTFDto` class with various control attributes.
22 lines
533 B
C#
22 lines
533 B
C#
using WorkFlow.Application.Buttons;
|
|
|
|
namespace WorkFlow.Application.Dto;
|
|
|
|
public class ProfileDto
|
|
{
|
|
public byte? TypeId { get; init; }
|
|
|
|
public string? Caption { get; init; }
|
|
|
|
public string? Subtitle { get; init; }
|
|
|
|
public int? CountObj { get; init; }
|
|
|
|
public string? ForeColor { get; init; }
|
|
|
|
public string? BackColor { get; init; }
|
|
|
|
public IEnumerable<ObjectDto> Objects { get; init; } = Array.Empty<ObjectDto>();
|
|
|
|
public IEnumerable<ButtonDto>? Buttons { get; set; } = Array.Empty<ButtonDto>();
|
|
} |