This commit is contained in:
2021-07-29 17:16:50 +00:00
parent 5af58d63e6
commit f00c081cda
3 changed files with 668 additions and 495 deletions

View File

@@ -23,14 +23,22 @@ namespace AyaNova.Models
//----
public DateTime? StopGeneratingDate { get; set; }
public DaysOfWeek ExcludeDaysOfWeek { get; set; }//bit field flags set
[Required]
public DaysOfWeek ExcludeDaysOfWeek { get; set; }//bit field flags set
[Required]
public bool Active { get; set; }
[Required]
public DateTime NextServiceDate { get; set; }
[Required]
public PMTimeUnit RepeatUnit { get; set; }
[Required]
public PMTimeUnit GenerateBeforeUnit { get; set; }
[Required]
public int RepeatInterval { get; set; }
[Required]
public int GenerateBeforeInterval { get; set; }
public DateTime? GenerateDate { get; set; }//Internal, not exposed to UI and is the date to do the next generate on that takes into account generatebefore and next service date and is calcd when first created and after that when generate happens for next time see pmbiz top with reference v7 code
//This property is calculated by biz object and set internally
public DateTime? GenerateDate { get; set; }
//----
[Required]