qol: simplify accessors

This commit is contained in:
Gary Sharp
2025-07-20 11:24:04 +10:00
parent 3aeb9374a9
commit b4e54c9edf
61 changed files with 132 additions and 132 deletions
@@ -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; }