use clap::Args;
use crate::Item;
use bon::Builder;
use getset::Getters;
#[derive(Debug, Args, Getters, PartialEq, Builder)]
pub struct ExpensesInput {
#[arg(
long,
short = 'p',
default_value = None,
help = "The period for which you wanna record expenses, e.g. `2025-05`. or `2025-06-first-half`. Note that we might expense for period of May even thought we had an expense in beginning of June, so this is not a strict period, but rather a period in which we want to record the expenses."
)]
#[getset(get = "pub")]
period: String,
#[arg(long, short = 'e', help = "The expenses to record for the period.")]
#[getset(get = "pub")]
expenses: Vec<Item>,
}