LPS-39077 javadoc for model.ftl and regen services

Made better model.ftl comment for getting trash entry class pks. Thanks.