Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to add attributes to entity using simplified attribute definition #182

Open
jreznot opened this issue Apr 24, 2019 · 0 comments
Open
Assignees
Labels
type: enhancement New feature or request
Milestone

Comments

@jreznot
Copy link
Contributor

jreznot commented Apr 24, 2019

I'm always frustrated when I created entity using CLI and cannot add attributes right now from a terminal.

It would be great if CLI after creating entity ask me if I want to add attributes. After that I will be able to enter attribute types (using very-short definition) and attribute name. Like:

> Do you want to add attributes to Customer entity (y/n):
y
> Enter attribute definitions using type + attribute name:
D date, S title, L number, B active, T time, sec$User user, RoleType roleType (Enter)

> Added attributes:

  Date date;
  String title;
  Long number;
  Boolean active;
  java.sql.Time time;
  User user;
  RoleType roleType;

Studio must add new attributes to Java class, generate get/set methods, add attributes to create-db.sql script

@jreznot jreznot added the type: enhancement New feature or request label Apr 24, 2019
@jreznot jreznot added this to the Release 3.0 milestone Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants