35 lines
823 B
C#
35 lines
823 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ZUGFeRDRESTService.Controllers
|
|
{
|
|
|
|
public class ValidationResponse
|
|
{
|
|
public string status;
|
|
public string message;
|
|
public List<string> errors;
|
|
|
|
public ValidationResponse()
|
|
{
|
|
status = ValidationController.RESPONSE_OK;
|
|
message = string.Empty;
|
|
errors = new List<string>();
|
|
}
|
|
|
|
public ValidationResponse(string Status, string Message)
|
|
{
|
|
status = Status;
|
|
message = Message;
|
|
errors = new List<string>();
|
|
}
|
|
|
|
public ValidationResponse(string Status, string Message, List<String> Errors)
|
|
{
|
|
status = Status;
|
|
message = Message;
|
|
errors = Errors;
|
|
}
|
|
}
|
|
}
|