Add init=False to exclude it from __init__:
init=False
__init__
id: Mapped[int] = mapped_column(primary_key=True, init=False)