from django.db import models
from django.contrib.auth.models import User


class Agent(models.Model):
    agent_id = models.OneToOneField(User, db_column='agent_id', default=1,
        primary_key=True)
    total_transactions = models.IntegerField(blank=True, null=True)


    class Meta:
        app_label = 'agents'
        db_table = 'agent'

    def __str__(self):
        return str(self.agent_id)

ede325707960680c7f4885ce10ce033c214bb805
<mask token>


class Agent(models.Model):
    <mask token>
    <mask token>


    class Meta:
        app_label = 'agents'
        db_table = 'agent'
    <mask token>

<mask token>


class Agent(models.Model):
    <mask token>
    <mask token>


    class Meta:
        app_label = 'agents'
        db_table = 'agent'

    def __str__(self):
        return str(self.agent_id)

<mask token>


class Agent(models.Model):
    agent_id = models.OneToOneField(User, db_column='agent_id', default=1,
        primary_key=True)
    total_transactions = models.IntegerField(blank=True, null=True)


    class Meta:
        app_label = 'agents'
        db_table = 'agent'

    def __str__(self):
        return str(self.agent_id)

from django.db import models
from django.contrib.auth.models import User


class Agent(models.Model):
    agent_id = models.OneToOneField(User, db_column='agent_id', default=1,
        primary_key=True)
    total_transactions = models.IntegerField(blank=True, null=True)


    class Meta:
        app_label = 'agents'
        db_table = 'agent'

    def __str__(self):
        return str(self.agent_id)
