Table of Contents

Class EducationDto

Namespace
Builvero.Application.DTOs.Profile
Assembly
Builvero.Application.dll

Data transfer object representing an educational background entry for a user.

public class EducationDto
Inheritance
EducationDto
Inherited Members

Remarks

This DTO is used for creating and updating user education history. The Id field is optional for new entries and required for updates to existing entries.

Properties

Degree

Gets or sets the degree or qualification obtained (e.g., "Bachelor of Science", "Master of Arts").

public string? Degree { get; set; }

Property Value

string
Data transfer object representing an educational background entry for a user.

Description

Gets or sets an optional description providing additional details about the education entry.

public string? Description { get; set; }

Property Value

string
Data transfer object representing an educational background entry for a user.

EndDate

Gets or sets the end date of the education period, or null if the education is ongoing.

public DateOnly? EndDate { get; set; }

Property Value

DateOnly?
Data transfer object representing an educational background entry for a user.

Remarks

If IsCurrent is true, this should typically be null or set to a future date.

Uses DateOnly to represent date-only values without time or timezone information. JSON deserialization from "YYYY-MM-DD" strings is supported in .NET 8+.

FieldOfStudy

Gets or sets the field of study or major subject area (e.g., "Computer Science", "Engineering").

public string? FieldOfStudy { get; set; }

Property Value

string
Data transfer object representing an educational background entry for a user.

Id

Gets or sets the unique identifier of the education entry, or null for new entries.

public Guid? Id { get; set; }

Property Value

Guid?
Data transfer object representing an educational background entry for a user.

Remarks

When updating an existing education entry, this must match the ID of the entry to update. When creating a new entry, this should be null.

Institution

Gets or sets the name of the educational institution (e.g., university, college, school).

public string Institution { get; set; }

Property Value

string
Data transfer object representing an educational background entry for a user.

Remarks

This is a required field and should not be empty.

IsCurrent

Gets or sets a value indicating whether this education entry represents a current or ongoing educational pursuit.

public bool IsCurrent { get; set; }

Property Value

bool
Data transfer object representing an educational background entry for a user.

StartDate

Gets or sets the start date of the education period.

public DateOnly? StartDate { get; set; }

Property Value

DateOnly?
Data transfer object representing an educational background entry for a user.

Remarks

Uses DateOnly to represent date-only values without time or timezone information. JSON deserialization from "YYYY-MM-DD" strings is supported in .NET 8+.