1 2 3 4 5 6 7 8 9 10
use solverforge::prelude::*; #[planning_entity] pub struct Shift { #[planning_id] pub id: i64, #[planning_variable(value_range_provider = "employees", allows_unassigned = true)] pub employee_id: Option<i64>, }