Advertisement
limun11

Studenti

Jan 17th, 2022
697
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using DLWMS.WinForms.P9;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9.  
  10. namespace DLWMS.WinForms.P7
  11. {
  12.     public class Student
  13.     {
  14.         public int Id { get; set; }
  15.         public string Indeks { get; set; }
  16.         public int GodinaStudija { get; set; }
  17.         //public Image Slika { get; set; }
  18.         public byte[] Slika { get; set; }
  19.         public string Ime { get; set; }
  20.         public string Prezime { get; set; }
  21.         public DateTime DatumRodjenja { get; set; }
  22.         public string Email { get; set; }
  23.         public string Loznika { get; set; }
  24.         public bool Aktivan { get; set; }
  25.  
  26.         //[NotMapped]
  27.         public virtual Spolovi Spol { get; set; }
  28.         public List<PolozeniPredmet> PolozeniPredmeti { get; set; }
  29.  
  30.         public Student()
  31.         {
  32.             PolozeniPredmeti = new List<PolozeniPredmet>();
  33.         }
  34.  
  35.  
  36.         public override string ToString()
  37.         {
  38.             return $"{Ime} {Prezime}";
  39.         }
  40.     }
  41. }
  42.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement