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

                             
                        





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