Class Education
Represents an educational background entry for a user, such as a degree, certification, or course of study.
public class Education
- Inheritance
-
Education
- Inherited Members
Remarks
Users can have multiple education entries to represent their complete educational history. Each entry includes the institution, degree information, dates, and optional description.
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
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
Description
Gets or sets an optional description providing additional details about the education entry.
public string? Description { get; set; }
Property Value
- string
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
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?
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
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. This matches the domain semantics where education dates are calendar dates, not instants.
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
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
Id
Gets or sets the unique identifier for this education entry.
public Guid Id { get; set; }
Property Value
- Guid
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
Institution
Gets or sets the name of the educational institution (e.g., university, college, school).
public string Institution { get; set; }
Property Value
- string
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
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
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
StartDate
Gets or sets the start date of the education period.
public DateOnly? StartDate { get; set; }
Property Value
- DateOnly?
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
Remarks
Uses DateOnly to represent date-only values without time or timezone information. This matches the domain semantics where education dates are calendar dates, not instants.
User
Gets or sets the user this education entry belongs to.
public User User { get; set; }
Property Value
- User
- Represents an educational background entry for a user, such as a degree, certification, or course of study.
UserId
Gets or sets the unique identifier of the user this education entry belongs to.
public Guid UserId { get; set; }
Property Value
- Guid
- Represents an educational background entry for a user, such as a degree, certification, or course of study.