profileShare

rasmusjy / splitapp-backend-modular-monolith

Read-only snapshot

No repository description.

main default branch 418 files Expires Sep 13, 2026, 9:06 AM
TripPollOption.cs 429 bytes
1 using System.ComponentModel.DataAnnotations;
2 using SplitApp.Shared.Kernel.Domain;
3
4 namespace SplitApp.Modules.Trips.Domain.Entities;
5
6 public class TripPollOption : BaseEntity
7 {
8 public Guid PollId { get; set; }
9 public TripPoll? Poll { get; set; }
10
11 [MaxLength(300)]
12 public string Text { get; set; } = default!;
13
14 public int DisplayOrder { get; set; }
15
16 public ICollection<TripPollVote>? Votes { get; set; }
17 }
18