| | 1 | | using System; |
| | 2 | | using System.ComponentModel.DataAnnotations; |
| | 3 | |
|
| | 4 | | namespace MUNity.Schema.Conference |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// a request body to change the date when a conference will take place. |
| | 8 | | /// </summary> |
| | 9 | | public class ChangeConferenceDate |
| | 10 | | { |
| | 11 | | /// <summary> |
| | 12 | | /// the id of the conference you want to change the date of |
| | 13 | | /// </summary> |
| | 14 | | [Required] |
| | 15 | | [MaxLength(80)] |
| 0 | 16 | | public string ConferenceId { get; set; } |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// the new start Date. |
| | 20 | | /// </summary> |
| | 21 | | [Required] |
| 0 | 22 | | public DateTime StartDate { get; set; } |
| | 23 | |
|
| | 24 | | /// <summary> |
| | 25 | | /// The new end date. |
| | 26 | | /// </summary> |
| | 27 | | [Required] |
| 0 | 28 | | public DateTime EndDate { get; set; } |
| | 29 | | } |
| | 30 | | } |