title: Entity Framework Code first, relation between models
body: <p>Is there someone who will listen to me and help me solve my problem?</p>
  
  <p>I have 3 classes (Product, Lot and Rem):</p>
  
  <p>Each Product has many Lot and each Lot has many Rem.</p>
  
  <pre><code>public class Product {
      public int id { get; set; }
      public string name { get; set; } 
  }
  
  public class Lot {
      public int id { get; set; }
      public decimal price { get; set; } 
  }
  
  public class Rem {
      public int id { get; set; }
      public string note  { get; set; } 
  }
  </code></pre>