RoleCheckPoint
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WorkFlowCheck.Common.Enums;
|
||||
|
||||
namespace WorkFlowCheck.Common.DTO
|
||||
{
|
||||
@@ -11,6 +12,7 @@ namespace WorkFlowCheck.Common.DTO
|
||||
public int Id { get; set; }
|
||||
public int CheckListTemplateHeaderId { get; set; }
|
||||
public CheckListTemplateHeaderDTO? CheckListTemplateHeaderDTO { get; set; }
|
||||
public CheckStatus CheckStatus { get; set; }
|
||||
public DateTime DateExecution { get; set; }
|
||||
public int UserId { get; set; }
|
||||
public UserDTO? UserDTO { get; set; }
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WorkFlowCheck.Common.DTO
|
||||
{
|
||||
public class RoleCheckPointDTO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int RoleId { get; set; }
|
||||
public RoleDTO? RoleDTO { get; set; } = null!;
|
||||
public int CheckPointId { get; set; }
|
||||
public CheckPointDTO? CheckPointDTO { get; set; } = null!;
|
||||
public bool Enabled { get; set; } = false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WorkFlowCheck.Common.Enums
|
||||
{
|
||||
public enum CheckStatus
|
||||
{
|
||||
Open = 0,
|
||||
InProgress = 1,
|
||||
Blocked = 3,
|
||||
Storno = 4,
|
||||
Sent = 5
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user