feat(organization): add organization table (#2669)

This commit is contained in:
Narayan Bhat
2023-10-30 14:24:28 +05:30
committed by GitHub
parent 23bd364a78
commit d682471001
15 changed files with 282 additions and 4 deletions

View File

@ -0,0 +1,13 @@
pub struct OrganizationNew {
pub org_id: String,
pub org_name: Option<String>,
}
impl OrganizationNew {
pub fn new(org_name: Option<String>) -> Self {
Self {
org_id: common_utils::generate_id_with_default_len("org"),
org_name,
}
}
}