Refactor DTOs and mappings for improved structure
- 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.
This commit is contained in:
@@ -4,8 +4,6 @@ namespace WorkFlow.Application.Dto;
|
||||
|
||||
public class ProfileDto
|
||||
{
|
||||
public int? Id { get; init; }
|
||||
|
||||
public byte? TypeId { get; init; }
|
||||
|
||||
public string? Caption { get; init; }
|
||||
|
||||
Reference in New Issue
Block a user