Skip to content

Instantly share code, notes, and snippets.

@trinvh
Created July 25, 2017 06:40
Show Gist options
  • Save trinvh/bbad582d4a4d1af9fe8ead3c80d61875 to your computer and use it in GitHub Desktop.
Save trinvh/bbad582d4a4d1af9fe8ead3c80d61875 to your computer and use it in GitHub Desktop.
public class CertificateViewModel
{
public int Id { get; set; }
public AccountViewModel Account { get; set; }
public CertificateType Type { get; set; }
public CertificateRegionType Region { get; set; }
#region Customer details
public CustomerDetailsWorkType WorkType { get; set; }
public string BusinessName { get; set; }
public string ContactName { get; set; }
public string JobId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string BillingAddress { get; set; }
public string SiteAddress { get; set; }
#endregion
public string WorkerFirstName { get; set; }
public string WorkerLastName { get; set; }
public string WorkerLicenseNumber { get; set; }
public string WorkerMobileNumber { get; set; }
public ContractorType ContractorType { get; set; }
public string ContractorTradingName { get; set; }
public string ContractorLicenseNumber { get; set; }
#region TestResults
public DateTime TestDate { get; set; }
public List<CircuitResultViewModel> CircuitResults { get; set; }
#endregion
public DateTime UploadedDate { get; set; }
}
public class CircuitResultViewModel
{
public string Name { get; set; }
public string EarthContinuity { get; set; }
public string Bonding { get; set; }
public string Polarity { get; set; }
public string InsulationResistance { get; set; }
public string FaultLoopImpedance { get; set; }
public string Notes { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment