|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
-
- //
-
-
-
-
-
-
-
-
- namespace SafeCampus.System;
-
- /// <summary>
- /// 职位分页查询
- /// </summary>
- public class PositionPageInput : BasePageInput
- {
- /// <summary>
- /// 组织ID
- /// </summary>
- public long OrgId { get; set; }
-
- /// <summary>
- /// 职位列表
- /// </summary>
- public List<long> OrgIds { get; set; }
-
- /// <summary>
- /// 分类
- /// </summary>
- public string Category { get; set; }
-
- /// <summary>
- /// 状态
- /// </summary>
- public string Status { get; set; }
- }
-
- /// <summary>
- /// 职位新增参数
- /// </summary>
- public class PositionAddInput : SysPosition
- {
- /// <summary>
- /// 组织ID
- /// </summary>
- [IdNotNull(ErrorMessage = "OrgId不能为空")]
- public override long OrgId { get; set; }
-
- /// <summary>
- /// 名称
- /// </summary>
- [Required(ErrorMessage = "Name不能为空")]
- public override string Name { get; set; }
-
- /// <summary>
- /// 分类
- /// </summary>
- [Required(ErrorMessage = "Category不能为空")]
- public override string Category { get; set; }
- }
-
- /// <summary>
- /// 机构编辑参数
- /// </summary>
- public class PositionEditInput : PositionAddInput
- {
- /// <summary>
- /// Id
- /// </summary>
- [IdNotNull(ErrorMessage = "Id不能为空")]
- public override long Id { get; set; }
- }
-
- /// <summary>
- /// 机构选择器参数
- /// </summary>
- public class PositionSelectorInput : UserSelectorInput
- {
- }
-
- /// <summary>
- /// 机构树形选择器参数
- /// </summary>
- public class PositionTreeInput
- {
- /// <summary>
- /// 机构ID列表
- /// </summary>
- public List<long> OrgIds { get; set; }
- }
|