예제 #1
0
 public MonthZP(MonthEmployee MonthEmployee)
 {
     this.MonthEmployee = MonthEmployee;
     MonthBonus         = 35;
     if (MonthEmployee.DaysNotWorkedVacation > 0 || MonthEmployee.DaysNotWorkedMatherhoodVacation > 0)
     {
         BonusOverWorkingWhenVocationChk = true;
     }
     CalculateBonus();
     Saved = false;
 }
예제 #2
0
 public MonthZP(int MonthBonus, int FreeBonus, int Salary, DateTime SavedDate, MonthEmployee MonthEmployee)
 {
     this.MonthBonus    = MonthBonus;
     this.FreeBonus     = FreeBonus;
     this.Salary        = Salary;
     this.SavedDate     = SavedDate.ToString();
     this.MonthEmployee = MonthEmployee;
     if (MonthEmployee.DaysNotWorkedVacation > 0 || MonthEmployee.DaysNotWorkedMatherhoodVacation > 0)
     {
         BonusOverWorkingWhenVocationChk = true;
     }
     CalculateBonus();
     Saved = true;
 }