Class EmployeeProps
Employee props - main model for examples.
Demonstrates all supported types:
Simple types (int, string, DateTime, long, decimal)
Arrays (string[], int[])
Business classes (Address with nested BuildingInfo)
Array of business classes (Contact[])
RedbObject references (CurrentProject, PastProjects[])
Dictionary types (various key and value types)
[RedbScheme("Employee")]
public class EmployeeProps
Inheritance
Properties
Age
public int Age { get; set; }
BonusByYear
public Dictionary<int, decimal>? BonusByYear { get; set; }
Certifications
public string[]? Certifications { get; set; }
CertificationYears
public int[]? CertificationYears { get; set; }
Contacts
public Contact[]? Contacts { get; set; }
CurrentProject
public RedbObject<ProjectMetricsProps>? CurrentProject { get; set; }
Department
public string Department { get; set; }
DepartmentHistory
public Dictionary<string, Department>? DepartmentHistory { get; set; }
EmergencyAddress
public Address? EmergencyAddress { get; set; }
EmployeeCode
public string? EmployeeCode { get; set; }
FirstName
public string FirstName { get; set; }
HireDate
public DateTime HireDate { get; set; }
HomeAddress
public Address? HomeAddress { get; set; }
LastName
public string LastName { get; set; }
OfficeLocations
public Dictionary<string, Address>? OfficeLocations { get; set; }
PastProjects
public RedbObject<ProjectMetricsProps>[]? PastProjects { get; set; }
PerformanceReviews
public Dictionary<(int Year, string Quarter), string>? PerformanceReviews { get; set; }
PhoneDirectory
public Dictionary<string, string>? PhoneDirectory { get; set; }
Position
public string Position { get; set; }
ProjectMetrics
public Dictionary<string, RedbObject<ProjectMetricsProps>>? ProjectMetrics { get; set; }
Salary
public decimal Salary { get; set; }
SkillLevels
public int[]? SkillLevels { get; set; }
Skills
public string[]? Skills { get; set; }
WorkAddress
public Address? WorkAddress { get; set; }