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







                              
                       
 
#[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_set: i32,
}