Advertisement
Guest User

Proizvodi class

a guest
Mar 27th, 2016
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.76 KB | None | 0 0
  1.  
  2.     public partial class Proizvodi
  3.     {
  4.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  5.         public Proizvodi()
  6.         {
  7.             this.IzlazStavke = new HashSet<IzlazStavke>();
  8.             this.NarudzbaStavke = new HashSet<NarudzbaStavke>();
  9.             this.Ocjene = new HashSet<Ocjene>();
  10.             this.UlazStavke = new HashSet<UlazStavke>();
  11.         }
  12.    
  13.         public int ProizvodID { get; set; }
  14.         public string Naziv { get; set; }
  15.         public string Sifra { get; set; }
  16.         public decimal Cijena { get; set; }
  17.         public int VrstaID { get; set; }
  18.         public int JedinicaMjereID { get; set; }
  19.         public byte[] Slika { get; set; }
  20.         public byte[] SlikaThumb { get; set; }
  21.         public bool Status { get; set; }
  22.    
  23.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  24.         public virtual ICollection<IzlazStavke> IzlazStavke { get; set; }
  25.         public virtual JediniceMjere JediniceMjere { get; set; }
  26.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  27.         public virtual ICollection<NarudzbaStavke> NarudzbaStavke { get; set; }
  28.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  29.         public virtual ICollection<Ocjene> Ocjene { get; set; }
  30.         public virtual VrsteProizvoda VrsteProizvoda { get; set; }
  31.         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  32.         public virtual ICollection<UlazStavke> UlazStavke { get; set; }
  33.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement