using System.ComponentModel.DataAnnotations; using RecNet.Domain.Common; namespace API.Contracts.Profiles.Requests; public class LoginRequest { [Required] public required string AppVersion { get; set; } [Required, StringLength(128, MinimumLength = 1)] public required string DeviceId { get; set; } [Required] public required string PlatformAuthentication { get; set; } [Required, StringLength(50, MinimumLength = 1)] public required string PlatformId { get; set; } [EnumDataType(typeof(PlatformType))] public PlatformType PlatformType { get; set; } }