V1.0.2 新增软件管理权限,新增,删除,管理等,还有软件控制权限等

This commit is contained in:
2024-12-27 21:50:13 +08:00
parent 3b0c316928
commit 54bbfe2fe4
26 changed files with 1625 additions and 33 deletions
@@ -0,0 +1,22 @@
using LMS.Common.Attributes;
using System.ComponentModel.DataAnnotations;
namespace LMS.Repository.Software
{
public class AddSoftwareModel
{
/// <summary>
/// 软件名称
/// </summary>
[Required]
[NotEmpty(ErrorMessage = "123")]
public string SoftwareName { get; set; }
/// <summary>
/// 软件代码
/// </summary>
[Required]
[NotEmpty(ErrorMessage = "123")]
public string SoftwareCode { get; set; }
}
}
@@ -0,0 +1,11 @@
using LMS.Common.Enum;
namespace LMS.Repository.Software
{
public class ModifySoftwareControlValidityModel
{
public SoftwareControlEnum.SoftwareControlValidityEnum? ExpirationTime { get; set; }
public bool? IsForever { get; set; }
}
}