exporting: remember last options for documents/user flags/device flags
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Disco.Data.Repository;
|
||||
using Disco.Models.Services.Devices.DeviceFlag;
|
||||
|
||||
namespace Disco.Data.Configuration.Modules
|
||||
{
|
||||
public class DeviceFlagsConfiguration : ConfigurationBase
|
||||
{
|
||||
public DeviceFlagsConfiguration(DiscoDataContext database) : base(database) { }
|
||||
|
||||
public override string Scope { get; } = "DeviceFlags";
|
||||
|
||||
public DeviceFlagExportOptions LastExportOptions
|
||||
{
|
||||
get => Get(DeviceFlagExportOptions.DefaultOptions());
|
||||
set => Set(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user