add doctrine for like entity
add doctrine for post entity,