diff --git a/src/models.rs b/src/models.rs index 91b5dbf..2f79d21 100644 --- a/src/models.rs +++ b/src/models.rs @@ -21,3 +21,14 @@ pub struct RObject { pub location: String, pub peso: i32, } + +#[derive(Queryable)] +pub struct Rnpc { + pub tag: String, + pub nombre: String, + pub descripcion: String, + pub location: String, + pub ca: i32, + pub ba: i32, + pub hp: i32, +}