UserRole javítása
This commit is contained in:
@@ -10,17 +10,17 @@ namespace WorkFlowCheck.Common.DTO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int CheckListTemplateHeaderId { get; set; }
|
||||
public CheckListTemplateHeaderDTO CheckListTemplateHeaderDTO { get; set; }
|
||||
public CheckListTemplateHeaderDTO? CheckListTemplateHeaderDTO { get; set; }
|
||||
public DateTime DateExecution { get; set; }
|
||||
public int UserId { get; set; }
|
||||
public UserDTO UserDTO { get; set; }
|
||||
public UserDTO? UserDTO { get; set; }
|
||||
public string ShortName { get; set; } = null!;
|
||||
public string Description { get; set; } = null!;
|
||||
public string DocumentNumber { get; set; } = null!;
|
||||
public Guid GuidNumber { get; set; }
|
||||
public bool IsStorno { get; set; }
|
||||
public bool IsEditable { get; set; }
|
||||
public required ICollection<CheckListRowDTO> CheckListRowDTO { get; set; } = new List<CheckListRowDTO>();
|
||||
public ICollection<CheckListRowDTO>? CheckListRowDTO { get; set; } = new List<CheckListRowDTO>();
|
||||
|
||||
public CheckListHeaderDTO()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace WorkFlowCheck.Common.DTO
|
||||
public int Id { get; set; }
|
||||
public int CheckListHeaderId { get; set; }
|
||||
public int CheckListTemplateRowId { get; set; }
|
||||
public CheckListTemplateRowDTO CheckListTemplateRowDTO { get; set; }
|
||||
public CheckListTemplateRowDTO? CheckListTemplateRowDTO { get; set; }
|
||||
public string GroupName => $"AnswerGroup_{CheckListTemplateRowDTO?.RowIndex ?? 0}";
|
||||
public string Answer { get; set; } = null!;
|
||||
public bool? AnswerYes { get; set; } = null!;
|
||||
|
||||
@@ -8,6 +8,6 @@ namespace WorkFlowCheck.Common.DTO
|
||||
public string ShortName { get; set; } = null!;
|
||||
public string Description { get; set; } = null!;
|
||||
|
||||
public required ICollection<CheckListTemplateRowDTO> CheckListTemplateRowDTO { get; set; } = new List<CheckListTemplateRowDTO>();
|
||||
public required ICollection<CheckListTemplateRowDTO>? CheckListTemplateRowDTO { get; set; } = new List<CheckListTemplateRowDTO>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ namespace WorkFlowCheck.Common.DTO
|
||||
public int Id { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
public string Code { get; set; }
|
||||
public List<CheckListTemplateRowDTO> CheckListTemplateRowDTO { get; set; } = new List<CheckListTemplateRowDTO>();
|
||||
public List<CheckListTemplateRowDTO>? CheckListTemplateRowDTO { get; set; } = new List<CheckListTemplateRowDTO>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,6 @@ namespace WorkFlowCheck.Common.DTO
|
||||
public string UserName { get;set; } = null!;
|
||||
public string Password { get; set; }
|
||||
public string JwtToken { get; set; } = null!;
|
||||
public required ICollection<RoleDTO> RoleDTO { get; set; } = new List<RoleDTO>();
|
||||
public ICollection<RoleDTO>? RoleDTO { get; set; } = new List<RoleDTO>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ namespace WorkFlowCheck.Common.DTO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int? RoleId { get; set; } = 0;
|
||||
public RoleDTO RoleDTO { get; set; }
|
||||
public RoleDTO? RoleDTO { get; set; }
|
||||
public int UserId { get; set; }
|
||||
public UserDTO UserDTO { get; set; }
|
||||
public UserDTO? UserDTO { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user