main
py 14 lines 576 Bytes
Raw
1 from typing import Optional
2
3 from sqlmodel import Field
4 from sqlmodel import SQLModel
5
6
7 class CustomerProvisioningDefaultSettings(SQLModel, table=True):
8 __tablename__ = "customer_provisioning_default_settings"
9 id: Optional[int] = Field(primary_key=True)
10 cluster_name: str = Field(max_length=50, nullable=False)
11 cluster_key: str = Field(max_length=1000, nullable=False)
12 master_ip: str = Field(max_length=50, nullable=False)
13 grafana_url: str = Field(max_length=1024, nullable=False)
14 wazuh_worker_hostname: str = Field(max_length=100, nullable=False)