lundi 4 mars 2019

class design python keeping only two class

In my application, following details can be done, i have designed two classes for same and wanted thoughts if two class will suffice

  1. User>> Add user (Roles like admin provided)

In another tab, new Role (like admin) can be created and what all he can access provided

  1. User can see various associated devices and its properties in device page, can manipulate properties here

  2. Log tab has various log related details, which can be exported and filtered

  3. Settings tab has different settings

  4. Place/Location tab : user can create various location in network, Group and sub group can be done here.

I need to create class design for this application for my automation project.

I thought of Two class only(high level)..........Not sure if this is correct design. I would like to know if further classes i should create or these two class can suffice.

Class Name= Place/Location

Create Location
CreateTopLocation
Locationedit
Associatedevicestolocation

Class Name= User

Add user
Addvariousrole
Dochangesinsettingstab
Dochangesinlogtab

Aucun commentaire:

Enregistrer un commentaire