0

I just don't want to use the name "User", I want it to be "Member"

//// this is for bypassing stackoverflow qualiy control

Tam Trinh
  • 11
  • 1

1 Answers1

2

You can expand the built-in model User: https://loopback.io/doc/en/lb3/Extending-built-in-models.html

server/models/Member.json

{
  "name": "Member",
  "base": "User",
...  
} 
MaxAlex
  • 2,919
  • 1
  • 14
  • 14