If it does that conversion when casting/loading from the database, then it should not be necessary to have an equality implementation that does it as well.
If it does that conversion when casting/loading from the database, then it should not be necessary to have an equality implementation that does it as well.