|
@@ -1,7 +1,6 @@
|
|
package com.xy.dto;
|
|
package com.xy.dto;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
-import com.xy.entity.SysDict;
|
|
|
|
import com.xy.utils.PageBean;
|
|
import com.xy.utils.PageBean;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -67,7 +66,7 @@ public class SysDictDto {
|
|
@Data
|
|
@Data
|
|
@ApiModel
|
|
@ApiModel
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
- public static class Page extends SysDict {
|
|
|
|
|
|
+ public static class Page extends Vo {
|
|
|
|
|
|
private PageBean page;
|
|
private PageBean page;
|
|
|
|
|
|
@@ -90,8 +89,39 @@ public class SysDictDto {
|
|
|
|
|
|
@Data
|
|
@Data
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
- public static class Vo extends SysDict {
|
|
|
|
|
|
+ public static class Vo {
|
|
|
|
|
|
|
|
+ @ApiModelProperty("id")
|
|
|
|
+ private Integer id;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("父编码")
|
|
|
|
+ private String paterCode;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("编码")
|
|
|
|
+ private String code;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("编码值")
|
|
|
|
+ private String value;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("编码说明")
|
|
|
|
+ private String msg;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("状态")
|
|
|
|
+ private Boolean status;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("创建时间")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("更新时间")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ private LocalDateTime updateTime;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("创建人")
|
|
|
|
+ private Long createUser;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("更新人")
|
|
|
|
+ private Long updateUser;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|