summaryrefslogblamecommitdiff
path: root/dichroism/src/dtos/product_post.rs
blob: ef07536bb82437ea13c0e980f2ade4aa5994d6b9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                              
#[derive(Debug, Deserialize)]
pub struct ProductPost {
    pub name: String,
    pub quantity: i32,
    pub cents: i32,
    pub description: String,
    pub featured: bool,
    pub category_path: String,
    pub photo_data: String,
}