Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.Collections;
  4.  
  5.  
  6. namespace RazorPagesHeroes.Models
  7. {
  8. public class Hero
  9. {
  10. public int ID { get; set; }
  11. public string Name { get; set; }
  12. public string AlterEgo { get; set; }
  13. public string City { get; set; }
  14.  
  15. [DataType(DataType.Date)]
  16. public DateTime BirthDate { get; set; }
  17.  
  18. public string PrincipalAbility { get; set; }
  19. public string PictureURL { get; set; }
  20.  
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement