ContractAllowanceDto.cs 843 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using MTWorkHR.Core.Entities.Base;
  9. using MTWorkHR.Core.Global;
  10. namespace MTWorkHR.Application.Models
  11. {
  12. public class ContractAllowanceDto : EntityDto
  13. {
  14. public long ContractId{ get; set; }
  15. [Required]
  16. public long AllowanceType { get; set; }
  17. public string? AllowanceDesc { get; set; }
  18. public long EntitlementPercent { get; set; }// اختيار (مبلغ – يكتب المبلغ) أو (نسبة من الراتب – ويظهر المبلغ توماتك)
  19. public long EntitlementAmount { get; set; }
  20. public PaymentType PaymentType { get; set; }
  21. }
  22. }