from django.db import models

# Create your models here.
class Departments(models.Model):
    DepartmentId=models.AutoField(primary_key=True)
    DepartmentName=models.CharField(max_length=255)

class Employees(models.Model):
    EmployeeId=models.AutoField(primary_key=True)
    EmployeeName=models.CharField(max_length=255)
    Department=models.CharField(max_length=255)
    DateOfJoining=models.DateField()
    Photo=models.CharField(max_length=255)
    