Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using DLWMS.WinForms.P9;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DLWMS.WinForms.P7
- {
- public class Student
- {
- public int Id { get; set; }
- public string Indeks { get; set; }
- public int GodinaStudija { get; set; }
- //public Image Slika { get; set; }
- public byte[] Slika { get; set; }
- public string Ime { get; set; }
- public string Prezime { get; set; }
- public DateTime DatumRodjenja { get; set; }
- public string Email { get; set; }
- public string Loznika { get; set; }
- public bool Aktivan { get; set; }
- //[NotMapped]
- public virtual Spolovi Spol { get; set; }
- public List<PolozeniPredmet> PolozeniPredmeti { get; set; }
- public Student()
- {
- PolozeniPredmeti = new List<PolozeniPredmet>();
- }
- public override string ToString()
- {
- return $"{Ime} {Prezime}";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement