A common practice would be to create value objects or entities that hold logic to do validation on themselves. Perhaps with an interface ...
確定! 回上一頁