V1.0.2 新增软件管理权限,新增,删除,管理等,还有软件控制权限等
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user