56 lines
2.9 KiB
C#
56 lines
2.9 KiB
C#
using Indotalent.Data.Abstracts;
|
|
using Indotalent.Data.Interfaces;
|
|
|
|
namespace Indotalent.Data.Entities;
|
|
|
|
public class Employee : BaseEntity, IHasAutoNumber
|
|
{
|
|
public string? AutoNumber { get; set; }
|
|
public string Code { get; set; } = string.Empty;
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string MiddleName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
public string JobDescription { get; set; } = string.Empty;
|
|
public string? GradeId { get; set; }
|
|
public Grade? Grade { get; set; }
|
|
public decimal BasicSalary { get; set; }
|
|
public string SalaryBankName { get; set; } = string.Empty;
|
|
public string SalaryBankAccountName { get; set; } = string.Empty;
|
|
public string SalaryBankAccountNumber { get; set; } = string.Empty;
|
|
public string PlaceOfBirth { get; set; } = string.Empty;
|
|
public DateTime? DateOfBirth { get; set; }
|
|
public string Gender { get; set; } = string.Empty;
|
|
public string MaritalStatus { get; set; } = string.Empty;
|
|
public string Religion { get; set; } = string.Empty;
|
|
public string BloodType { get; set; } = string.Empty;
|
|
public string IdentityNumber { get; set; } = string.Empty;
|
|
public string TaxNumber { get; set; } = string.Empty;
|
|
public string LastEducation { get; set; } = string.Empty;
|
|
public DateTime? JoinedDate { get; set; }
|
|
public DateTime? ResignedDate { get; set; }
|
|
public string EmployeeStatus { get; set; } = string.Empty;
|
|
public string EmploymentType { get; set; } = string.Empty;
|
|
public string StreetAddress { get; set; } = string.Empty;
|
|
public string City { get; set; } = string.Empty;
|
|
public string StateProvince { get; set; } = string.Empty;
|
|
public string ZipCode { get; set; } = string.Empty;
|
|
public string Phone { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string BranchId { get; set; } = string.Empty;
|
|
public Branch? Branch { get; set; }
|
|
public string DepartmentId { get; set; } = string.Empty;
|
|
public Department? Department { get; set; }
|
|
public string DesignationId { get; set; } = string.Empty;
|
|
public Designation? Designation { get; set; }
|
|
public string SocialMediaLinkedIn { get; set; } = string.Empty;
|
|
public string SocialMediaX { get; set; } = string.Empty;
|
|
public string SocialMediaFacebook { get; set; } = string.Empty;
|
|
public string SocialMediaInstagram { get; set; } = string.Empty;
|
|
public string SocialMediaTikTok { get; set; } = string.Empty;
|
|
public string OtherInformation1 { get; set; } = string.Empty;
|
|
public string OtherInformation2 { get; set; } = string.Empty;
|
|
public string OtherInformation3 { get; set; } = string.Empty;
|
|
|
|
public virtual ICollection<EmployeeIncome> EmployeeIncome { get; set; } = new List<EmployeeIncome>();
|
|
public virtual ICollection<EmployeeDeduction> EmployeeDeduction { get; set; } = new List<EmployeeDeduction>();
|
|
} |