20 lines
470 B
C#
20 lines
470 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using iPackage.Models.Entity;
|
|
|
|
namespace NugetTest.AspCore.Models
|
|
{
|
|
public class Person : ApiEntity
|
|
{
|
|
[Key]
|
|
public int PersonId { get; set; }
|
|
|
|
public string FirstName { get; set; }
|
|
public string FamilyName { get; set; }
|
|
public ICollection<Person> Persons { get; set; }
|
|
}
|
|
}
|