I know that an attribute defines the state of an object. So, is it correct to keep attributes that don't define the state of an object of a class?
For example, I have an Employee class, which has these attributes:
emp_id,
fname,
lname,
mname,
salary,
mobile,
email,
gender,
maritalstatus,
position,
birthdate,
hiredate,
dept_id,
address_id,
bank_id.
The dept_id, address_id and bank_id are foreign keys. Now my actual question is can we include attributes like bank_id, address_id and dept_id into Employee class because they are not actually showing exact behavior of Employee Class? Instead can I make another class named EmployeeForeignKeys and keep these attributes bank_id, address_id, dept_id in that class?