How to create custom function in a class validator DTO and how can I call them once object is retrived from DB. Also how can I declare a default property in the same class t