Wonky.Client/Wonky.Entity/DTO/ShortMessage.cs
2023-04-11 15:50:24 +02:00

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; }
}