Class Gender
Represents a gender domain model.
Inherited Members
Namespace: Innovt.Domain.Users
Assembly: Innovt.Domain.dll
Syntax
public class Gender : DomainModel<Gender>
Constructors
| Edit this page View SourceGender()
Initializes a new instance of the Gender class.
Declaration
public Gender()
Gender(int, char, string)
Initializes a new instance of the Gender class with the specified parameters.
Declaration
public Gender(int id, char acronym, string description)
Parameters
Type | Name | Description |
---|---|---|
int | id | The unique identifier for the gender. |
char | acronym | The acronym representing the gender. |
string | description | The description of the gender. |
Fields
| Edit this page View SourceFemale
Declaration
public static Gender Female
Field Value
Type | Description |
---|---|
Gender |
Male
Declaration
public static Gender Male
Field Value
Type | Description |
---|---|
Gender |
Properties
| Edit this page View SourceAcronym
Gets or sets the acronym representing the gender.
Declaration
public char Acronym { get; set; }
Property Value
Type | Description |
---|---|
char |
Description
Gets or sets the description of the gender.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |