Add builder pattern in generated entity

add static builder method in entity