Manufacturer.cs 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace APICancelar.Entities
  10. {
  11. using Newtonsoft.Json;
  12. using System;
  13. using System.Collections.Generic;
  14. public partial class Manufacturer
  15. {
  16. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  17. public Manufacturer()
  18. {
  19. this.Products = new HashSet<Product>();
  20. }
  21. public int IdManufacturer { get; set; }
  22. public string TitleManufacturer { get; set; }
  23. [JsonIgnore]
  24. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  25. public virtual ICollection<Product> Products { get; set; }
  26. }
  27. }