mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
21 lines
482 B
C#
21 lines
482 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BuildFeed.Models.ViewModel
|
|
{
|
|
public class QuestionForm
|
|
{
|
|
[Required]
|
|
[DisplayName("Your name")]
|
|
public string Name { get; set; }
|
|
|
|
[Required]
|
|
[DisplayName("Your email address")]
|
|
[EmailAddress]
|
|
public string Email { get; set; }
|
|
|
|
[Required]
|
|
[DisplayName("Question")]
|
|
public string Comment { get; set; }
|
|
}
|
|
} |