22 lines
691 B
C#
22 lines
691 B
C#
using System;
|
|
using Fake.DomainDrivenDesign.Entities.Auditing;
|
|
|
|
namespace InterfaceForward.Domain.Aggregates.DictionaryAggregate;
|
|
|
|
public class DictionaryItemEntity : FullAuditedEntity<Guid>
|
|
{
|
|
public DictionaryItemEntity(Guid dictionaryId, string name, int value, int sort, string? description = null)
|
|
{
|
|
DictionaryId = dictionaryId;
|
|
Name = name;
|
|
Value = value;
|
|
Sort = sort;
|
|
Description = description;
|
|
}
|
|
|
|
public Guid DictionaryId { get; private set; }
|
|
public string Name { get; private set; }
|
|
public int Value { get; private set; }
|
|
public int Sort { get; private set; }
|
|
public string? Description { get; private set; }
|
|
} |