1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod fund;
mod vote_plan;

pub use fund::{CurrentFund, FundDates, FundInfo};
use vit_servicing_station_lib::db::models::funds::FundStageDates;
pub use vote_plan::SingleVotePlanParameters;

pub struct ValidVotePlanParameters {
    pub current_fund: CurrentFund,
    pub next_funds: Vec<FundInfo>,
}

impl From<CurrentFund> for ValidVotePlanParameters {
    fn from(current_fund: CurrentFund) -> Self {
        Self {
            current_fund,
            next_funds: Vec::new(),
        }
    }
}