use crate::entities::Container;
#[derive(Debug, Clone)]
pub struct Bin {
pub id: usize,
pub container: Container,
pub stock: usize,
pub cost: u64,
}
impl Bin {
pub fn new(container: Container, stock: usize, cost: u64) -> Self {
Self {
id: container.id,
container,
stock,
cost,
}
}
}