feat(ProfileObjState: Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.
This commit is contained in:
parent
21956cfc16
commit
1453f9adb1
@ -0,0 +1,11 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.ProfileObjState
|
||||||
|
{
|
||||||
|
public record ProfileObjStateCreateDto(
|
||||||
|
int ProfileId,
|
||||||
|
int UsrId,
|
||||||
|
long ObjId,
|
||||||
|
int StateId,
|
||||||
|
string? State2 = null,
|
||||||
|
string? State3 = null,
|
||||||
|
string? State4 = null) : BaseCreateDto;
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
using DigitalData.UserManager.Application.DTOs.User;
|
||||||
|
using WorkFlow.Application.DTO.Profile;
|
||||||
|
|
||||||
|
namespace WorkFlow.Application.DTO.ProfileObjState
|
||||||
|
{
|
||||||
|
public record ProfileObjStateDto(int Id,
|
||||||
|
int ProfileId,
|
||||||
|
int UsrId,
|
||||||
|
long ObjId,
|
||||||
|
int StateId,
|
||||||
|
string AddedWho,
|
||||||
|
DateTime AddedWhen,
|
||||||
|
string? State2 = null,
|
||||||
|
string? State3 = null,
|
||||||
|
string? State4 = null,
|
||||||
|
ProfileDto? Profile = null,
|
||||||
|
UserReadDto? User = null
|
||||||
|
/*StateDto? State = null*/);
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.ProfileObjState
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
||||||
|
/// </summary>
|
||||||
|
public record ProfileObjStateUpdateDto;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user