2024-11-12 22:10:44 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2024-11-13 14:41:01 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-11-12 22:10:44 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2024-11-13 14:41:01 +04:00
|
|
|
|
using EmployeeManagmentDataModels.Models;
|
2024-11-12 22:10:44 +04:00
|
|
|
|
|
|
|
|
|
namespace EmployeeManagmentDataBaseImplement.Models
|
|
|
|
|
{
|
2024-11-13 14:41:01 +04:00
|
|
|
|
public class Salary : ISalary
|
2024-11-12 22:10:44 +04:00
|
|
|
|
{
|
2024-11-13 14:41:01 +04:00
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int CountHours { get; set; }
|
|
|
|
|
public float PriceHour { get; set; }
|
|
|
|
|
public float? Premium { get; set; }
|
|
|
|
|
public DateTime? Data { get; set; }
|
|
|
|
|
public bool Passed { get; set; }
|
|
|
|
|
|
|
|
|
|
[ForeignKey("Employee")]
|
|
|
|
|
public int EmployeesId { get; set; }
|
|
|
|
|
public Employee? Employee { get; set; }
|
2024-11-12 22:10:44 +04:00
|
|
|
|
}
|
|
|
|
|
}
|