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.

58 lines
1.2 KiB

using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 职位管理输入参数
/// </summary>
public class PositionInput : PageInputBase
{
/// <summary>
/// 职位名称
/// </summary>
public virtual string PositionName { get; set; }
/// <summary>
/// 职位等级
/// </summary>
public virtual int PositionLevel { get; set; }
/// <summary>
/// 父级
/// </summary>
public virtual long ParentID { get; set; }
}
public class AddPositionInput : PositionInput
{
}
public class DeletePositionInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdatePositionInput : PositionInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryePositionInput : DeletePositionInput
{
}
}