use petro::entity::Entity; use petro::entity::EntityId; #[derive(Entity, Debug, Clone)] #[petro(table = "customer", id = "id")] pub struct Customer { pub id: EntityId, pub name: String, }