Created
September 10, 2012 12:27
-
-
Save RemiBou/3690647 to your computer and use it in GitHub Desktop.
Remi DDD : sample entities
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 Product | |
{ | |
public string Name { get; set; } | |
public int Id { get; set; } | |
public decimal Price { get; set; } | |
} | |
public class Order | |
{ | |
public int Id { get; set; } | |
public int ProductId { get; set; } | |
public decimal Price { get; set; } | |
public int CustomerId { get; set; } | |
public string Comment { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment