using AyCode.Entities.Locations; using AyCode.Interfaces.TimeStampInfo; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using TIAM.Resources; namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels { public class TransferDestinationWizardModel { //[Required(ErrorMessage = "The Username value should be specified.")] [DataType(DataType.Text)] [Display(Name = ResourceKeys.DestinationName, ResourceType = typeof(TIAMResources))] public string? Name { get; set; } [DataType(DataType.MultilineText)] [Display(Name = ResourceKeys.DestinationInfo, ResourceType = typeof(TIAMResources))] public string? Description { get; set; } [DataType(DataType.Text)] [Display(Name = ResourceKeys.DestinationAddress, ResourceType = typeof(TIAMResources))] public string? Address { get; set; } [DataType("Latitude")] [Display(Name = "Destination latitude")] public double Latitude { get; set; } [DataType("Longitude")] [Display(Name = "Destination longitude")] public double Longitude { get; set; } public TransferDestinationWizardModel() { } public TransferDestinationWizardModel(double latitude, double longitude, string address) : this(Guid.NewGuid(), latitude, longitude, address) { } public TransferDestinationWizardModel(Guid id, double latitude, double longitude, string address) { } public TransferDestinationWizardModel(Guid id, string name, double latitude, double longitude, string address) { } public TransferDestinationWizardModel(Guid id, string name, string description, double latitude, double longitude, string address) { } } }