CheckInData_Request.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.QiYeWeChat
  7. {
  8. /// <summary>
  9. /// 企业微信
  10. /// 获取打卡记录数据 Dto
  11. /// </summary>
  12. public class CheckInData_Request
  13. {
  14. /// <summary>
  15. /// 调用接口凭证。必须使用打卡应用的Secret获取access_token,获取方式参考:文档-获取access_token
  16. /// </summary>
  17. public string access_token { get; set; }
  18. /// <summary>
  19. /// 打卡类型。1:上下班打卡;2:外出打卡;3:全部打卡
  20. /// </summary>
  21. public int opencheckindatatype { get; set; }
  22. /// <summary>
  23. /// 获取打卡记录的开始时间。Unix时间戳
  24. /// </summary>
  25. public long starttime { get; set; }
  26. /// <summary>
  27. /// 获取打卡记录的结束时间。Unix时间戳
  28. /// </summary>
  29. public long endtime { get; set; }
  30. /// <summary>
  31. /// 需要获取打卡记录的用户列表
  32. /// </summary>
  33. public List<string> useridlist { get; set; }
  34. }
  35. }