31 lines
831 B
C#
31 lines
831 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace FamilyTreeAPI.Models
|
|
{
|
|
public partial class Person
|
|
{
|
|
public Person()
|
|
{
|
|
// Servicetasks = new HashSet<Servicetask>();
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Phone { get; set; }
|
|
public string? Address { get; set; }
|
|
public string? Sex { get; set; }
|
|
|
|
public string? Image { get; set; }
|
|
public bool? Alive { get; set; }
|
|
public int? MotherId { get; set; }
|
|
public int? FatherId { get; set; }
|
|
|
|
public DateTime? dob { get; set; }
|
|
|
|
//public virtual ICollection<Staffwork> Staffworks { get; set; }
|
|
}
|
|
}
|