itfx/src/InterfaceForward.Domain/DictionaryAggregate/DictionaryEntity.cs
2024-03-07 21:15:07 +08:00

19 lines
500 B
C#

using System;
using Fake.DomainDrivenDesign.Entities.Auditing;
namespace InterfaceForward.Domain.DictionaryAggregate;
public class DictionaryEntity:FullAuditedAggregate<Guid>
{
public string Name { get; private set; }
public string Code { get; private set; }
public string? Description { get; private set; }
public DictionaryEntity(string name, string code, string? description)
{
Name = name;
Code = code;
Description = description;
}
}