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