// // RegisterClientModel.cs // // Author: // Paul Schneider // // Copyright (c) 2015 Paul Schneider // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see . using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Yavsc.Model.RolesAndMembers { /// /// Register client model. /// public class RegisterClientModel : RegisterModel { /// /// Gets or sets the full name. /// /// The full name. [DisplayName("Nom complet")] [Required(ErrorMessage="S'il vous plait, saisissez le nom complet")] public string Name { get; set; } /// /// Gets or sets the address. /// /// The address. [DisplayName("Addresse")] public string Address { get; set; } /// /// Gets or sets the state of the city and. /// /// The state of the city and. [DisplayName("Ville")] public string CityAndState { get; set; } /// /// Gets or sets the zip code. /// /// The zip code. [DisplayName("Code postal")] public string ZipCode { get; set; } /// /// Gets or sets the phone. /// /// The phone. [DisplayName("Téléphone fixe")] public string Phone { get; set; } /// /// Gets or sets the mobile. /// /// The mobile. [DisplayName("Téléphone mobile")] public string Mobile { get; set; } public string Question { get; set; } public string Answer { get; set; } } }