pub async fn create_cost_projection(
pool: &Pool<MySql>,
org_id: i64,
app_id: Option<i64>,
projection_period: &str,
start_date: DateTime<Utc>,
end_date: DateTime<Utc>,
projected_cost: f64,
currency: &str,
projection_model: &str,
confidence_level: Option<f64>,
metadata: Option<&str>,
) -> Result<CostProjection>
Expand description
Creates a new cost projection in the database.