from django.db import models

# Create your models here.

class insurancetype(models.Model):
    type = models.CharField(max_length=30)

    def __str__(self):
        return self.type

class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype,on_delete=models.CASCADE)
3d532e82e22abdd4b42ecce88bf7ea16c32fe40f
<mask token>


class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype, on_delete=models.CASCADE)

<mask token>


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

    def __str__(self):
        return self.type


class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype, on_delete=models.CASCADE)

<mask token>


class insurancetype(models.Model):
    type = models.CharField(max_length=30)

    def __str__(self):
        return self.type


class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype, on_delete=models.CASCADE)

from django.db import models


class insurancetype(models.Model):
    type = models.CharField(max_length=30)

    def __str__(self):
        return self.type


class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype, on_delete=models.CASCADE)

from django.db import models

# Create your models here.

class insurancetype(models.Model):
    type = models.CharField(max_length=30)

    def __str__(self):
        return self.type

class Insurancerecord(models.Model):
    name = models.CharField(max_length=50)
    insurance_id = models.CharField(max_length=8)
    email = models.CharField(max_length=35)
    mobile = models.CharField(max_length=10)
    insurancename = models.CharField(max_length=50)
    insurancetype = models.ForeignKey(insurancetype,on_delete=models.CASCADE)