<filename>bigfastapi/schemas/organisation_schemas.py


import datetime as _dt
from locale import currency

import pydantic as _pydantic
from pydantic import Field
from uuid import UUID
from typing import List, Optional

class _OrganizationBase(_pydantic.BaseModel):
    mission: Optional[str]
    vision: Optional[str]
    name: str
    country: str
    state: str
    address: str
    currency_preference: str
    current_subscription: Optional[str]
    tagline: Optional[str]
    image: Optional[str]
    values: Optional[str]

    class Config:
        orm_mode = True
  


class OrganizationCreate(_OrganizationBase):
    pass


class OrganizationUpdate(_OrganizationBase):
    pass



class Organization(_OrganizationBase):
    id: str
    creator: str
    date_created: _dt.datetime
    last_updated: _dt.datetime

    class Config:
        orm_mode = True



<filename>bigfastapi/schemas/organisation_schemas.py


import datetime as _dt
from locale import currency

import pydantic as _pydantic
from pydantic import Field
from uuid import UUID
from typing import List, Optional

class _OrganizationBase(_pydantic.BaseModel):
    mission: Optional[str]
    vision: Optional[str]
    name: str
    country: str
    state: str
    address: str
    currency_preference: str
    current_subscription: Optional[str]
    tagline: Optional[str]
    image: Optional[str]
    values: Optional[str]

    class Config:
        orm_mode = True
  


class OrganizationCreate(_OrganizationBase):
    pass


class OrganizationUpdate(_OrganizationBase):
    pass



class Organization(_OrganizationBase):
    id: str
    creator: str
    date_created: _dt.datetime
    last_updated: _dt.datetime

    class Config:
        orm_mode = True


