mirror of
https://github.com/MvDevsUnion/WPetition.git
synced 2026-02-01 04:20:55 +00:00
30 lines
740 B
C#
30 lines
740 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Submission.Api.Dto
|
|
{
|
|
public class PetitionFormDto
|
|
{
|
|
[Required]
|
|
public string NameDhiv { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string NameEng { get; set; } = string.Empty;
|
|
|
|
// Expect dd-MM-yyyy
|
|
[Required]
|
|
public string StartDate { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string AuthorName { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string AuthorNid { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string PetitionBodyDhiv { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string PetitionBodyEng { get; set; } = string.Empty;
|
|
}
|
|
}
|