summaryrefslogtreecommitdiff
path: root/dichroism/src/models/product.rs
blob: 4a3d7823cb68e9e9481a0b8b04f11dc3a33081c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::PhotoSet;

#[derive(Debug, Clone)]
pub struct Product {
    pub id: Option<i32>,
    pub name: String,
    pub description: String,
    pub cents: i32,
    pub quantity: i32,
    pub featured: bool,
    pub photo_set: PhotoSet,
    pub category: String,
}