import uuid
from datetime import datetime

from sqlalchemy import Column, Integer, String, DateTime, ForeignKey, JSON, event
from sqlalchemy.orm import relationship

from backend.domain.base import Base
from backend.domain.guid import GUID


class AssetRequestVolunteer(Base):
    __tablename__ = 'asset-request_volunteer'

    id = Column(GUID(), primary_key=True, default=uuid.uuid4().hex[0:15])
    volunteer_id = Column(GUID(), ForeignKey('volunteer.id'), name='idVolunteer')
    vehicle_id = Column(GUID(), ForeignKey('asset-request_vehicle.id'), name='idVehicle')
    position = Column(Integer, name='position')
    roles = Column(JSON, name='roles')
    status = Column(String, name='status')
    update_date_time = Column(DateTime, name='lastUpdateDt', default=datetime.now(), nullable=False)
    insert_date_time = Column(DateTime, name='rowInsertDT', default=datetime.now(), nullable=False)

    asset_request_vehicle = relationship("AssetRequestVehicle")

2c620352ce2e521cfe6f2e3e60dafad24e82d593
<mask token>

<mask token>


class AssetRequestVolunteer(Base):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class AssetRequestVolunteer(Base):
    __tablename__ = 'asset-request_volunteer'
    id = Column(GUID(), primary_key=True, default=uuid.uuid4().hex[0:15])
    volunteer_id = Column(GUID(), ForeignKey('volunteer.id'), name=
        'idVolunteer')
    vehicle_id = Column(GUID(), ForeignKey('asset-request_vehicle.id'),
        name='idVehicle')
    position = Column(Integer, name='position')
    roles = Column(JSON, name='roles')
    status = Column(String, name='status')
    update_date_time = Column(DateTime, name='lastUpdateDt', default=
        datetime.now(), nullable=False)
    insert_date_time = Column(DateTime, name='rowInsertDT', default=
        datetime.now(), nullable=False)
    asset_request_vehicle = relationship('AssetRequestVehicle')

import uuid
from datetime import datetime
from sqlalchemy import Column, Integer, String, DateTime, ForeignKey, JSON, event
from sqlalchemy.orm import relationship
from backend.domain.base import Base
from backend.domain.guid import GUID


class AssetRequestVolunteer(Base):
    __tablename__ = 'asset-request_volunteer'
    id = Column(GUID(), primary_key=True, default=uuid.uuid4().hex[0:15])
    volunteer_id = Column(GUID(), ForeignKey('volunteer.id'), name=
        'idVolunteer')
    vehicle_id = Column(GUID(), ForeignKey('asset-request_vehicle.id'),
        name='idVehicle')
    position = Column(Integer, name='position')
    roles = Column(JSON, name='roles')
    status = Column(String, name='status')
    update_date_time = Column(DateTime, name='lastUpdateDt', default=
        datetime.now(), nullable=False)
    insert_date_time = Column(DateTime, name='rowInsertDT', default=
        datetime.now(), nullable=False)
    asset_request_vehicle = relationship('AssetRequestVehicle')

import uuid
from datetime import datetime

from sqlalchemy import Column, Integer, String, DateTime, ForeignKey, JSON, event
from sqlalchemy.orm import relationship

from backend.domain.base import Base
from backend.domain.guid import GUID


class AssetRequestVolunteer(Base):
    __tablename__ = 'asset-request_volunteer'

    id = Column(GUID(), primary_key=True, default=uuid.uuid4().hex[0:15])
    volunteer_id = Column(GUID(), ForeignKey('volunteer.id'), name='idVolunteer')
    vehicle_id = Column(GUID(), ForeignKey('asset-request_vehicle.id'), name='idVehicle')
    position = Column(Integer, name='position')
    roles = Column(JSON, name='roles')
    status = Column(String, name='status')
    update_date_time = Column(DateTime, name='lastUpdateDt', default=datetime.now(), nullable=False)
    insert_date_time = Column(DateTime, name='rowInsertDT', default=datetime.now(), nullable=False)

    asset_request_vehicle = relationship("AssetRequestVehicle")
