diff --git a/src/WorkFlow.Application/Dto/ProfileControlsTFDto.cs b/src/WorkFlow.Application/Dto/ProfileControlsTFDto.cs index 9056e3c..1158ee1 100644 --- a/src/WorkFlow.Application/Dto/ProfileControlsTFDto.cs +++ b/src/WorkFlow.Application/Dto/ProfileControlsTFDto.cs @@ -1,19 +1,26 @@ -using DigitalData.UserManager.Application.DTOs.User; +namespace WorkFlow.Application.Dto; -namespace WorkFlow.Application.Dto +public record ProfileControlsTFDto { - public record ProfileControlsTFDto(int Id, - int ProfileId, - int UserId, - long ObjId, - string ObjType, - string AttrName, - string CtrlType, - string CtrlCaption, - bool Mandatory, - bool ReadOnly, - string AddedWho, - DateTime AddedWhen, - string? ChoiceList = null, - UserReadDto? User = null); + public long Id { get; set; } + + public byte? DialogNo { get; set; } + + public string? AttrName { get; set; } + + public string? CtrlType { get; set; } + + public string? Caption { get; set; } + + public string? Text { get; set; } + + public string? Icon { get; set; } + + public bool? Mandatory { get; set; } + + public string? ChoiceList { get; set; } + + public bool? ReadOnly { get; set; } + + public byte? Sequ { get; set; } } \ No newline at end of file diff --git a/src/WorkFlow.Domain/Entities/ProfileControlsTF.cs b/src/WorkFlow.Domain/Entities/ProfileControlsTF.cs index a348f9e..10d2deb 100644 --- a/src/WorkFlow.Domain/Entities/ProfileControlsTF.cs +++ b/src/WorkFlow.Domain/Entities/ProfileControlsTF.cs @@ -89,7 +89,7 @@ public class ProfileControlsTF public bool? ReadOnly { get; set; } [Column("SEQU", TypeName = "tinyint")] - public byte? Sequ { get; set; } = 0; + public byte? Sequ { get; set; } [Column("ADDED_WHO", TypeName = "nvarchar(100)")] public required string AddedWho { get; set; }