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

枚举类型字段不支持自定义范围 #60

Open
Suny95 opened this issue Feb 18, 2021 · 2 comments
Open

枚举类型字段不支持自定义范围 #60

Suny95 opened this issue Feb 18, 2021 · 2 comments

Comments

@Suny95
Copy link

Suny95 commented Feb 18, 2021

image

从源码看目前枚举值只能随机啊,啥时候能支持自定义值就好了,因为有些场景是有层级关系的,比如区域,我们要先建国、在建省这样的

@jsonzoup
Copy link
Contributor

你不同层级的枚举,使用是同一个枚举?

@Suny95
Copy link
Author

Suny95 commented Feb 19, 2021

是的,同一个枚举对象,不同枚举值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants