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:
bank_id are foreign keys. Now my actual question is can we include attributes like
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
dept_id in that class?