mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
14 lines
290 B
Rust
14 lines
290 B
Rust
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,
|
|
}
|
|
}
|
|
}
|