feature: custom device models
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Disco.Models.UI.Config.DeviceModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Disco.Web.Areas.Config.Models.DeviceModel
|
||||
{
|
||||
public class CreateModel : ConfigDeviceModelCreateModel
|
||||
{
|
||||
[Required, StringLength(500)]
|
||||
public string Description { get; set; }
|
||||
[StringLength(200)]
|
||||
public string Manufacturer { get; set; }
|
||||
[StringLength(200)]
|
||||
public string ManufacturerModel { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user