2023-03-17 14:20:54 +01:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace Wonky.Entity.DTO;
|
|
|
|
|
2023-03-19 10:05:44 +01:00
|
|
|
public class ShortMessage
|
2023-03-17 14:20:54 +01:00
|
|
|
{
|
|
|
|
[Required] [MaxLength(11)] public string From { get; set; } = "";
|
|
|
|
|
|
|
|
[Required] [MaxLength(1000)] public string To { get; set; } = "";
|
|
|
|
|
|
|
|
[Required] [MaxLength(100)] public string Body { get; set; } = "";
|
2023-04-11 15:50:24 +02:00
|
|
|
public bool Flash { get; set; }
|
2023-03-17 14:20:54 +01:00
|
|
|
}
|