mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
417 B
24 lines
417 B
using System;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace Volo.Abp.TestApp.Domain
|
|
{
|
|
public class Person : AggregateRoot
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public int Age { get; set; }
|
|
|
|
private Person()
|
|
{
|
|
|
|
}
|
|
|
|
public Person(Guid id, string name, int age)
|
|
{
|
|
Id = id;
|
|
Name = name;
|
|
Age = age;
|
|
}
|
|
}
|
|
} |