# Django Library
from django.db import models

# Thirdparty Library
from apps.base.models import PyChannel

# Localfolder Library
from ...crm.submodels.lead import PyLead
from .campaign import PyCampaign


class MarketingLead(PyLead):
    class Meta:
        app_label = 'crm'

    channel_id = models.ForeignKey(PyChannel, null=True, blank=True, on_delete=models.PROTECT)
    campaign_id = models.ForeignKey(PyCampaign, null=True, blank=True, on_delete=models.PROTECT)

# Django Library
from django.db import models

# Thirdparty Library
from apps.base.models import PyChannel

# Localfolder Library
from ...crm.submodels.lead import PyLead
from .campaign import PyCampaign


class MarketingLead(PyLead):
    class Meta:
        app_label = 'crm'

    channel_id = models.ForeignKey(PyChannel, null=True, blank=True, on_delete=models.PROTECT)
    campaign_id = models.ForeignKey(PyCampaign, null=True, blank=True, on_delete=models.PROTECT)

# Django Library # Thirdparty Library # Localfolder Library