JobPostDto.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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.System
  7. {
  8. /// <summary>
  9. /// 查询岗位
  10. /// </summary>
  11. public class QueryJobPostDto : DtoBase
  12. {
  13. /// <summary>
  14. /// 公司Id
  15. /// </summary>
  16. public int CompanyId { get; set; }
  17. /// <summary>
  18. /// 部门Id
  19. /// </summary>
  20. public int DepId { get; set; }
  21. }
  22. /// <summary>
  23. /// 添加岗位dto
  24. /// </summary>
  25. public class AddJobPostDto
  26. {
  27. /// <summary>
  28. /// 公司Id
  29. /// </summary>
  30. public int CompanyId { get; set; }
  31. /// <summary>
  32. /// 部门Id
  33. /// </summary>
  34. public int DepId { get; set; }
  35. /// <summary>
  36. /// 岗位名称
  37. /// </summary>
  38. public string JobName { get; set; }
  39. /// <summary>
  40. /// 创建者Id
  41. /// </summary>
  42. public int CreateUserId { get; set; }
  43. /// <summary>
  44. /// 备注
  45. /// </summary>
  46. public string Remark { get; set; }
  47. }
  48. /// <summary>
  49. /// 修改岗位dto
  50. /// </summary>
  51. public class EditJobPostDto
  52. {
  53. /// <summary>
  54. /// 岗位Id
  55. /// </summary>
  56. public int Id { get; set; }
  57. /// <summary>
  58. /// 公司Id
  59. /// </summary>
  60. public int CompanyId { get; set; }
  61. /// <summary>
  62. /// 部门Id
  63. /// </summary>
  64. public int DepId { get; set; }
  65. /// <summary>
  66. /// 岗位名称
  67. /// </summary>
  68. public string JobName { get; set; }
  69. /// <summary>
  70. /// 备注
  71. /// </summary>
  72. public string Remark { get; set; }
  73. }
  74. public class DelJobPostDto
  75. {
  76. /// <summary>
  77. /// 职位Id
  78. /// </summary>
  79. public int Id { get; set; }
  80. }
  81. }