dev.tirsvad.dk
Tirsvad Website: A Clean Architecture .NET solution using Blazor WebAssembly for modern, cloud-ready web applications. Supports SQLite/MySQL, containerization, and follows best practices for maintainability and scalability.
Domain.Entities.Organisation Class Reference

Represents an organization entity within the domain model. More...

Inheritance diagram for Domain.Entities.Organisation:
Collaboration diagram for Domain.Entities.Organisation:

Properties

Guid Id [get, set]
 Gets or sets the unique identifier for the organization.
required string Name [get, set]
 Gets or sets the name of the organization.
required string Description [get, set]
 Gets or sets the description of the organization.
virtual ICollection< ProjectProjects = [] [get, set]

Detailed Description

Represents an organization entity within the domain model.

The Organisation class is a core domain entity that encapsulates the identity and descriptive information of an organization, as well as its relationship to associated projects. This entity is part of the Clean Architecture domain layer and is intended to be persisted via the infrastructure layer.

var organisation = new Organisation
{
Id = Guid.NewGuid(),
Name = "Tirsvad",
Description = "A sample organization",
};
Represents an organization entity within the domain model.
Definition Organisation.cs:28
required string Name
Gets or sets the name of the organization.
Definition Organisation.cs:37
Guid Id
Gets or sets the unique identifier for the organization.
Definition Organisation.cs:32
required string Description
Gets or sets the description of the organization.
Definition Organisation.cs:42

Property Documentation

◆ Id

Guid Domain.Entities.Organisation.Id
getset

Gets or sets the unique identifier for the organization.

Implements Domain.Interfaces.IEntity.


The documentation for this class was generated from the following file: