Commit 77ce81f4 by yuwei

2.0.0项目初始化

parent 411515c9
......@@ -20,7 +20,7 @@
</dependency>
<dependency>
<groupId>cn.datax</groupId>
<artifactId>system-service-api</artifactId>
<artifactId>datax-common-core</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
......
......@@ -2,7 +2,7 @@ package cn.datax.common.dictionary.annotation;
import java.lang.annotation.*;
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DictAop {
......
......@@ -41,6 +41,11 @@
<artifactId>datax-common-core</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>cn.datax</groupId>
<artifactId>datax-common-dictionary</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package cn.datax.service.system.api.vo;
import cn.datax.common.dictionary.annotation.DictAop;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
......@@ -13,6 +14,7 @@ public class RoleVo implements Serializable {
private static final long serialVersionUID=1L;
private String id;
@DictAop(code = "status")
private Integer status;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime createTime;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment