You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace EasyBL
  7. {
  8. public class AttendanceRule
  9. {
  10. public string OrgID { set; get; }
  11. public string WorkStart { set; get; }
  12. public string WorkEnd { set; get; }
  13. /// <summary>
  14. /// 最晚上班時間,時間不認定遲到
  15. /// </summary>
  16. public string WorkStartBuffer { set; get; }
  17. /// <summary>
  18. /// 遲到緩衝,遲到過後扣除WorkStartBuffer量
  19. /// </summary>
  20. public int DelayBuffer { set; get; }
  21. /// <summary>
  22. /// 上午上下班時間
  23. /// </summary>
  24. public string WorkTimePMDeadLine { set; get; }
  25. /// <summary>
  26. /// 下午上下班時間
  27. /// </summary>
  28. public string WorkTimeAMDeadLine { set; get; }
  29. public AttendanceRule()
  30. {
  31. OrgID = "";
  32. WorkTimePMDeadLine = "09:00~12:30";
  33. WorkTimeAMDeadLine = "13:30~17:30";
  34. WorkStart = "09:00";
  35. WorkEnd = "17:30";
  36. WorkStartBuffer = "";
  37. DelayBuffer = 0;
  38. }
  39. }
  40. }