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