baseModel cration for validation