| | 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 | | /// Every Request that is happening inside the Simulation must be authenticated. |
| | 10 | | /// This abstraction will ensure that a Token is passed. |
| | 11 | | /// </summary> |
| | 12 | | public class SimulationRequest |
| | 13 | | { |
| | 14 | | /// <summary> |
| | 15 | | /// The token of the current logged in SimulationUser. |
| | 16 | | /// </summary> |
| | 17 | | [Required] |
| 0 | 18 | | public string Token { get; set; } |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// The id of the Simulation that changes should be made in. |
| | 22 | | /// </summary> |
| | 23 | | [Required] |
| 0 | 24 | | public int SimulationId { get; set; } |
| | 25 | | } |
| | 26 | | } |