Files
kitchensink/src/Strata.KitchenSink.Biz/Departments/DeptExport.cs
T
Thom Lamb 0979371a57 feat: Initialize Strata KitchenSink application boilerplate
This sets up the foundational structure for a .NET Core 6 / React project,
demonstrating common architectural patterns, Docker integration, and key
Strata libraries for API, data access (EF Core), background jobs (Hangfire),
real-time communication (SignalR), and various frontend UI components.
2026-06-23 10:58:15 -05:00

24 lines
619 B
C#

namespace Strata.KitchenSink.Biz.Departments
{
internal class DepartmentExport
{
public string DepartmentCode { get; set; }
public string Description { get; set; }
public string DepartmentType { get; set; }
public DepartmentExport()
{
}
public DepartmentExport(Department x)
{
DepartmentCode = x.DepartmentCode;
Description = x.Description;
DepartmentType = x.DepartmentType.ToString();
}
public static explicit operator DepartmentExport(Department x) => new DepartmentExport(x);
}
}