qol: simplify accessors
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
{
|
||||
public interface ConfigDeviceProfileCreateModel : BaseUIModel
|
||||
{
|
||||
Models.Repository.DeviceProfile DeviceProfile { get; set; }
|
||||
Repository.DeviceProfile DeviceProfile { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,8 @@ namespace Disco.Models.UI.Config.DeviceProfile
|
||||
{
|
||||
public interface ConfigDeviceProfileDefaultsModel : BaseUIModel
|
||||
{
|
||||
List<Disco.Models.Repository.DeviceProfile> DeviceProfiles { get; set; }
|
||||
List<Disco.Models.Repository.DeviceProfile> DeviceProfilesAndNone { get; set; }
|
||||
List<Repository.DeviceProfile> DeviceProfiles { get; set; }
|
||||
List<Repository.DeviceProfile> DeviceProfilesAndNone { get; set; }
|
||||
int Default { get; set; }
|
||||
int DefaultAddDeviceOffline { get; set; }
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
int? Address { get; set; }
|
||||
string AddressName { get; set; }
|
||||
string Description { get; set; }
|
||||
Models.Repository.DeviceProfile.DistributionTypes DistributionType { get; set; }
|
||||
Repository.DeviceProfile.DistributionTypes DistributionType { get; set; }
|
||||
|
||||
int DeviceCount { get; set; }
|
||||
int DeviceDecommissionedCount { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user