18 lines
912 B
C#
18 lines
912 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LCU.Api.Internal.MaidBotLib.Models
|
|
{
|
|
public class LoggingMatrix
|
|
{
|
|
public int LoggingMatrixId { get; set; }
|
|
[StringLength(200, MinimumLength = 1, ErrorMessage = "Application field must have a length between 1 and 200 characters")]
|
|
public string Application { get; set; }
|
|
[StringLength(50, MinimumLength = 1, ErrorMessage = "Level field must have a length between 1 and 50 characters")]
|
|
public string Level { get; set; }
|
|
[StringLength(100, MinimumLength = 1, ErrorMessage = "Groups field must have a length between 1 and 100 characters")]
|
|
public string Group { get; set; }
|
|
[StringLength(100, MinimumLength = 1, ErrorMessage = "Emails field must have a length between 1 and 100 characters")]
|
|
public string Email { get; set; }
|
|
public bool Disabled { get; set; }
|
|
}
|
|
} |