feat(db): add project_health entity
zhenyi committed
Added lib/db/project/project_health.rs lib/db/project/project_health.rs +12 −0 View lib/db/project/project_health.rs
@@ -0,0 +1,12 @@
1use sea_orm::entity::prelude::*;
2use serde::{Deserialize, Serialize};
3
4#[derive(
5 Debug, Clone, Copy, PartialEq, Eq, EnumIter, DeriveActiveEnum, Serialize, Deserialize,
6)]
7#[sea_orm(rs_type = "i32", db_type = "SmallInteger")]
8pub enum ProjectHealth {
9 OnTrack = 0,
10 AtRisk = 1,
11 OffTrack = 2,
12}