13 lines
No EOL
353 B
C#
13 lines
No EOL
353 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Wonky.Entity.DTO;
|
|
|
|
public class ShortMessage
|
|
{
|
|
[Required] [MaxLength(11)] public string From { get; set; } = "";
|
|
|
|
[Required] [MaxLength(1000)] public string To { get; set; } = "";
|
|
|
|
[Required] [MaxLength(100)] public string Body { get; set; } = "";
|
|
public bool Flash { get; set; }
|
|
} |