Advertisement
ekioISpro

Untitled

Oct 27th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1.  
  2. namespace CoreCodeCamp.Data.DTOs
  3. {
  4.     public class SpeakerDto
  5.     {
  6.         public string FirstName { get; set; }
  7.         public string LastName { get; set; }
  8.         public string MiddleName { get; set; }
  9.         public string Company { get; set; }
  10.         public string CompanyUrl { get; set; }
  11.         public string BlogUrl { get; set; }
  12.         public string Twitter { get; set; }
  13.         public string GitHub { get; set; }
  14.     }
  15. }
  16.  
  17. namespace CoreCodeCamp.Data.DTOs
  18. {
  19.     public class TalkDto
  20.     {
  21.         public int TalkId { get; set; }
  22.         [Required] [StringLength(100)] public string Title { get; set; }
  23.         [Required]
  24.         [StringLength(4000, MinimumLength = 20)]
  25.         public string Abstract { get; set; }
  26.         [Range(100, 400)] public int Level { get; set; }
  27.         public Speaker Speaker { get; set; }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement