Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.ComponentModel.DataAnnotations;
- using System.Collections;
- namespace RazorPagesHeroes.Models
- {
- public class Hero
- {
- public int ID { get; set; }
- public string Name { get; set; }
- public string AlterEgo { get; set; }
- public string City { get; set; }
- [DataType(DataType.Date)]
- public DateTime BirthDate { get; set; }
- public string PrincipalAbility { get; set; }
- public string PictureURL { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement