summaryrefslogblamecommitdiff
path: root/dichroism/src/entities/product.rs
blob: 4f47c1de0ec0681e35a50bc5458db6594dbabc45 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                             
#[derive(Debug, Clone, Queryable, Serialize)]
pub struct Product {
    pub id: i32,
    pub photo_set: i32,
    pub cents: i32,
    pub quantity: i32,
    pub name: String,
    pub description: String,
    pub featured: i32,
}