LMS.service/LMS.Repository/Software/AddSoftwareModel.cs

23 lines
521 B
C#
Raw Normal View History

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; }
}
}