⌂ Home
Add Classes to Diagram
❮❮
❮ Back
Next ❯
❯❯
Task
Add two classes to diagram as follows:
Steps
① Add
User
class
Add
class
declaration for
User
.
Add
email
attribute of type
string
.
Add
encrypted_password
attribute of type
string
.
② Add
BlogPost
class
Add
class
declaration for
BlogPost
.
Add
title
attribute of type
string
.
Add
body
attribute of type
text
.
Reference Code
❮❮
❮ Back
Next ❯
❯❯