Clinical Sync Batch Engine: first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
public class ClinicalSite
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public string SiteCode { get; private set; } = string.Empty;
|
||||
public string Name { get; private set; } = string.Empty;
|
||||
public string? Address { get; private set; }
|
||||
public bool Active { get; private set; } = true;
|
||||
public DateTimeOffset CreatedAt { get; private set; }
|
||||
|
||||
public ICollection<WardGateway> Gateways { get; private set; } = [];
|
||||
|
||||
private ClinicalSite() { }
|
||||
|
||||
public ClinicalSite(string siteCode, string name, string? address = null)
|
||||
{
|
||||
SiteCode = siteCode;
|
||||
Name = name;
|
||||
Address = address;
|
||||
CreatedAt = DateTimeOffset.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user