| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.Linq; |
| | 4 | | using System.Threading.Tasks; |
| | 5 | |
|
| | 6 | | namespace MUNity.Database.Models.Simulation; |
| | 7 | |
|
| | 8 | | public class SimulationVoting |
| | 9 | | { |
| 0 | 10 | | public string SimulationVotingId { get; set; } |
| | 11 | |
|
| 0 | 12 | | public string Name { get; set; } |
| | 13 | |
|
| 0 | 14 | | public string Description { get; set; } |
| | 15 | |
|
| 0 | 16 | | public Simulation Simulation { get; set; } |
| | 17 | |
|
| 0 | 18 | | public ICollection<SimulationVotingSlot> VoteSlots { get; set; } |
| | 19 | |
|
| 0 | 20 | | public bool IsActive { get; set; } |
| | 21 | |
|
| 0 | 22 | | public bool AllowAbstention { get; set; } |
| | 23 | |
|
| 0 | 24 | | public SimulationVoting() |
| 0 | 25 | | { |
| 0 | 26 | | SimulationVotingId = Guid.NewGuid().ToString(); |
| 0 | 27 | | } |
| | 28 | | } |