namespace IWS5.Core.DTO;

public class ProcessFieldPermissionsDTO(
    int fieldId,
    Guid? fieldObjectId,
    string fieldName,
    bool allowedToView,
    bool allowedToEdit)
{
    public int FieldId { get; private set; } = fieldId;
    public Guid? FieldObjectId { get; private set; } = fieldObjectId;
    public string FieldName { get; private set; } = fieldName;
    public bool AllowedToView { get; private set; } = allowedToView;
    public bool AllowedToEdit { get; private set; } = allowedToEdit;
}
