public int CompareTo(object obj) { return this.DateBegin.CompareTo((obj as PlanStaffHistory).DateBegin); }