| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.ComponentModel.DataAnnotations; |
| | 4 | | using System.Text; |
| | 5 | |
|
| | 6 | | namespace MUNity.Schema.Simulation |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// A request body to create a new simulation/virual Committee. |
| | 10 | | /// </summary> |
| | 11 | | public class CreateSimulationRequest |
| | 12 | | { |
| | 13 | | /// <summary> |
| | 14 | | /// The display name of the simulation. |
| | 15 | | /// </summary> |
| | 16 | | [Required] |
| 0 | 17 | | public string Name { get; set; } |
| | 18 | |
|
| | 19 | | /// <summary> |
| | 20 | | /// The password for administration. This password will be asked if someone who is not the owner |
| | 21 | | /// of the simulation will need to enter to change the settings. |
| | 22 | | /// </summary> |
| | 23 | | [Required] |
| 0 | 24 | | public string AdminPassword { get; set; } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// The display name you want to have because the one creating the simulation will also be the |
| | 28 | | /// first user to join and be added to the admin list. |
| | 29 | | /// </summary> |
| | 30 | | [Required] |
| 0 | 31 | | public string UserDisplayName { get; set; } |
| | 32 | | } |
| | 33 | | } |