Last active
March 30, 2017 07:15
-
-
Save stpriyanka/cde231f350c3beefd6c3c59fb9eceb3e to your computer and use it in GitHub Desktop.
Data needs to map between DTO and DM classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompanyDM | |
{ | |
public int ID { get; set; } | |
public string CompanyName { get; set; } | |
public string ContactPersonName { get; set; } | |
public string ContactPersonEmail { get; set; } | |
public string VAT { get; set; } | |
public string CompanyAddress { get; set; } | |
public bool HasMultipleBranch { get; set; } | |
public bool PaidCustomer { get; set; } | |
public DateTime CompanyCreatedAt { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompanyDTO | |
{ | |
public string CompanyName { get; set; } | |
public string ContactPersonName { get; set; } | |
public string ContactPersonEmail { get; set; } | |
public string VAT { get; set; } | |
public string CompanyAddress { get; set; } | |
public bool HasMultipleBranch { get; set; } | |
public DateTime CompanyCreatedAt { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment