enhance responses from API, integrates with frontend
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
use diesel::prelude::*;
|
||||
use crate::schema::claims;
|
||||
use crate::models::item::Loot;
|
||||
|
||||
#[derive(Queryable, Serialize, Debug)]
|
||||
#[derive(Identifiable, Queryable, Associations, Serialize, Debug)]
|
||||
#[belongs_to(Loot)]
|
||||
pub struct Claim {
|
||||
id: i32,
|
||||
player_id: i32,
|
||||
|
||||
Reference in New Issue
Block a user