ReservationManagementGlobalSettings.cs 829 B

1234567891011121314151617181920212223242526
  1. using Comal.Classes;
  2. using InABox.Configuration;
  3. using InABox.Core;
  4. namespace PRSDesktop;
  5. public class ReservationManagementGlobalSettings : BaseObject, IGlobalConfigurationSettings
  6. {
  7. [EditorSequence(1)]
  8. [Caption("Default Product Style", IncludePath = false)]
  9. public ProductStyleLink ProductStyle => InitializeField(ref _productStyle, nameof(ProductStyle));
  10. private ProductStyleLink? _productStyle;
  11. [EditorSequence(2)]
  12. [Caption("Due Date Alert (Days)")]
  13. public int DueDateAlert { get; set; } = 7;
  14. [EditorSequence(3)]
  15. [Caption("Due Date Warning (Days)")]
  16. public int DueDateWarning { get; set; } = 2;
  17. [EditorSequence(4)]
  18. [Comment("Automatically issue purchase orders raised for treatment")]
  19. [CheckBoxEditor]
  20. public bool AutoIssueTreatmentPOs { get; set; } = false;
  21. }