Skip to content

Commit

Permalink
Added modules handson for Exercise 1
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Jun 25, 2021
1 parent 1f7057c commit 14fb190
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions June21/modulehandson/hrms/models/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from dataclasses import dataclass

@dataclass
class Employee:
name: str
id: str
dep: str
email_id: str
mobile_number: str


@dataclass
class Company:
name: str
website: str
contact_nos: list



6 changes: 6 additions & 0 deletions June21/modulehandson/hrms/viewmodels/operations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

def add_new_employee():
"""
This method should add the new employee
by asking the inputs from users
"""

0 comments on commit 14fb190

Please sign in to comment.