mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2024-12-26 01:22:54 +08:00
feat: 新增枚举类扫描包
This commit is contained in:
parent
d19415a44c
commit
ccef3791d0
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ import com.skyeye.annotation.api.ApiModel;
|
|||
import com.skyeye.annotation.api.ApiModelProperty;
|
||||
import com.skyeye.annotation.unique.UniqueField;
|
||||
import com.skyeye.common.entity.features.BaseGeneralInfo;
|
||||
import com.skyeye.common.enumeration.EnableEnum;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
|
@ -31,7 +32,7 @@ public class PayApp extends BaseGeneralInfo {
|
|||
private String appKey;
|
||||
|
||||
@TableField("enabled")
|
||||
@ApiModelProperty(value = "状态,参考#EnableEnum", required = "required")
|
||||
@ApiModelProperty(value = "状态", required = "required", enumClass = EnableEnum.class)
|
||||
private Integer enabled;
|
||||
|
||||
@TableField("order_notify_url")
|
||||
|
|
Loading…
Reference in a new issue