clean code create view entite