custom component generate model in builder

And ideally, update that model’s definition if the relevant properties of the component were changed?