Advertisement
ekioISpro

Untitled

Oct 27th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.82 KB | None | 0 0
  1.  
  2. namespace CoreCodeCamp.Data.Models
  3. {
  4.     public class CampDto
  5.     {
  6.         [Required] [StringLength(100)] public string Name { get; set; }
  7.  
  8.         [Required] public string Moniker { get; set; }
  9.  
  10.         public DateTime EventDate { get; set; } = DateTime.MinValue;
  11.  
  12.         [Range(1, 100)] public int Length { get; set; } = 1;
  13.  
  14.         public string Venue { get; set; }
  15.         public string LocationAddress1 { get; set; }
  16.         public string LocationAddress2 { get; set; }
  17.         public string LocationAddress3 { get; set; }
  18.         public string LocationCityTown { get; set; }
  19.         public string LocationStateProvince { get; set; }
  20.         public string LocationPostalCode { get; set; }
  21.         public string LocationCountry { get; set; }
  22.         public ICollection<TalkDto> Talks { get; set; }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement