Staff ioHandler::getStaff(StaffList& s_list) { Staff s; string today = getCurrentDate(); cout << "신규 직원에 대한 자료 입력" << endl; s.staff_id = s_list.findMaxStaffId(today.substr(0, 4)); cout << endl << "직원번호: " << s.staff_id; putNewLine(); cout << endl << "직원구분: "; cin >> s.staff_sep; cout << endl << "성명 : "; cin >> s.name; cout << endl << "생년월일(yyyymmdd) : "; cin >> s.birth_date; cout << endl << "휴대전화번호: "; cin >> s.phone_no; s.join_date = getCurrentDate(); putNewLine(); cout << endl << "입사일(yyyymmdd) : " << s.join_date; s.resign_date = "xxxx0101"; return s; }