namespace Admin.NET.Core.Service;
public class RoleInput : BaseIdInput
{
///
/// 状态
///
public virtual StatusEnum Status { get; set; }
}
public class PageRoleInput : BasePageInput
{
///
/// 名称
///
public virtual string Name { get; set; }
///
/// 编码
///
public virtual string Code { get; set; }
}
public class AddRoleInput : SysRole
{
///
/// 名称
///
[Required(ErrorMessage = "角色名称不能为空")]
public override string Name { get; set; }
///
/// 菜单Id集合
///
public List MenuIdList { get; set; }
}
public class UpdateRoleInput : AddRoleInput
{
}
public class DeleteRoleInput : BaseIdInput
{
}