25 lines
793 B
C#
25 lines
793 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using TIAM.Resources;
|
|
|
|
namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels
|
|
{
|
|
public class ServiceProviderWizardModel
|
|
{
|
|
|
|
//[Required(ErrorMessage = "The Username value should be specified.")]
|
|
[Required(ErrorMessage = "The name should be specified.")]
|
|
[DataType(DataType.Text)]
|
|
[Display(Name = ResourceKeys.ServiceProviderName, ResourceType = typeof(TIAMResources))]
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
public ServiceProviderWizardModel() { }
|
|
public ServiceProviderWizardModel(string name) : this(Guid.NewGuid(), name) { }
|
|
public ServiceProviderWizardModel(Guid id, string name) {
|
|
Name = name;
|
|
}
|
|
|
|
}
|
|
}
|