Table of Contents

Class NamedEntity<T>

Namespace
arolariu.Backend.Common.DDD.Contracts
Assembly
arolariu.Backend.Common.dll

Named entity. The first three properties are:

  1. Id of type T
  2. Name of type string
  3. Description of type string
public abstract class NamedEntity<T> : BaseEntity<T>, IAuditable

Type Parameters

T
Inheritance
NamedEntity<T>
Implements
Derived
Inherited Members

Properties

Description

The description of the entity.

[JsonPropertyOrder(2)]
public string Description { get; set; }

Property Value

string

Name

The name of the entity.

[JsonPropertyOrder(1)]
public string Name { get; set; }

Property Value

string