| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | |
| | | 3 | | namespace MUNity.Schema.Conference |
| | | 4 | | { |
| | | 5 | | /// <summary> |
| | | 6 | | /// A request body to change the long name (full name) of a conference. |
| | | 7 | | /// </summary> |
| | | 8 | | public class ChangeConferenceFullName |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// the id of the conference you want to change to full name at. |
| | | 12 | | /// </summary> |
| | | 13 | | [Required] |
| | | 14 | | [MaxLength(80)] |
| | 0 | 15 | | public string ConferenceId { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// the new full name. |
| | | 19 | | /// </summary> |
| | | 20 | | [Required] |
| | | 21 | | [MaxLength(250)] |
| | 0 | 22 | | public string NewFullName { get; set; } |
| | | 23 | | } |
| | | 24 | | } |