public FinanceRecordViewModel(TeacherFeeModel teacherFee, Color recordColor, FinanceStatisticBussiness bussiness)
 {
     _statisticType = StatisticTypeEnum.TeacherFee;
     AccountID      = teacherFee.TeacherFeeID;
     _teacherFee    = teacherFee;
     _recordColor   = recordColor;
     RecordItem     = bussiness.GetItemName(teacherFee);
     RecordDate     = _teacherFee.PaymentDate.ToString("yyyy年MM月dd日");
     RecordAmount   = teacherFee.Amount.ToString();
     ChangeSelectState(false);
 }
 public string GetItemName(TeacherFeeModel teacherFee)
 {
     return(StatisticTypeManagement.Instance.StatisticTypeCollection.Where(s => s.StatisticType == StatisticTypeEnum.TeacherFee).First().ShownText
            + "-" + TeacherManagementBussiness.Instance.Teachers.Where(t => t.TeacherID == teacherFee.TeacherID).First().TeacherName
            + "-" + teacherFee.FeeYear + "年" + teacherFee.FeeMonth + "月");
 }