forked from github/dataease
refactor: 字段注释
This commit is contained in:
parent
4da24c0cf5
commit
9996998e8c
@ -1,28 +1,31 @@
|
||||
package io.dataease.base.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ChartView implements Serializable {
|
||||
@ApiModelProperty("ID")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("分组ID")
|
||||
private String sceneId;
|
||||
|
||||
@ApiModelProperty("数据集ID")
|
||||
private String tableId;
|
||||
|
||||
@ApiModelProperty("图表类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("创建人")
|
||||
private String createBy;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Long createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Long updateTime;
|
||||
|
||||
@ApiModelProperty("样式优先级")
|
||||
private String stylePriority;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -46,7 +46,7 @@ public class ChartViewController {
|
||||
return chartViewService.listAndGroup(chartViewRequest);
|
||||
}
|
||||
|
||||
@ApiOperation("详息")
|
||||
@ApiOperation("详细信息")
|
||||
@PostMapping("/get/{id}")
|
||||
public ChartViewWithBLOBs get(@PathVariable String id) {
|
||||
return chartViewService.get(id);
|
||||
|
@ -1,6 +1,7 @@
|
||||
package io.dataease.controller.request.chart;
|
||||
|
||||
import io.dataease.base.domain.ChartViewWithBLOBs;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@ -11,7 +12,8 @@ import lombok.Setter;
|
||||
@Setter
|
||||
@Getter
|
||||
public class ChartViewRequest extends ChartViewWithBLOBs {
|
||||
@ApiModelProperty("排序")
|
||||
private String sort;
|
||||
|
||||
@ApiModelProperty("当前登陆用户ID")
|
||||
private String userId;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user