model base constructor can apply the properties values