User.cs 412 B

123456789101112131415
  1. namespace App.Runner
  2. {
  3. // Entity Definition
  4. [System.ComponentModel.DataAnnotations.Schema.Table("User")]
  5. public class User
  6. {
  7. [System.ComponentModel.DataAnnotations.Key]
  8. public int id { get; set; }
  9. public string name { get; set; }
  10. public DateTime? birth { get; set; }
  11. public int? fatherId { get; set; }
  12. public int? motherId { get; set; }
  13. }
  14. }