-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStaff.cs
33 lines (31 loc) · 1.19 KB
/
Staff.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFmodelCHECK.Models
{
public class Staff
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string FatherName { get; set; }
public string CNIC { get; set; }
public DateTime DOB { get; set; }
public DateTime RegisteredOn { get; set; }
public string Type { get; set; }
public string Designation { get; set; }
public string Picture { get; set; }
public DateTime JoiningDate { get; set; }
public int RegisteredById { get; set; }
public string Contact { get; set; }
public string Address { get; set; }
public virtual ICollection<Salary> Salary { get; set; }
public virtual ICollection<ClassSubjects> ClassSubjects { get; set; }
public virtual ICollection<StaffAttendance> StaffAttendance { get; set; }
public virtual ICollection<Marks> Marks { get; set; }
public virtual ICollection<Exam> Exams { get; set; }
public virtual User RegisteredBy { get; set; }
}
}