提交 8cf638f1 authored 作者: 马晨俊's avatar 马晨俊

Merge branch 'master' of git.yfzx.zjtys.com.cn:912-system/monitor/inspect

package com.zjty.inspect.entity; package com.zjty.inspect.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.hibernate.annotations.Generated; import org.hibernate.annotations.Generated;
import org.hibernate.annotations.GenerationTime; import org.hibernate.annotations.GenerationTime;
...@@ -17,6 +19,7 @@ import java.sql.Timestamp; ...@@ -17,6 +19,7 @@ import java.sql.Timestamp;
@Entity @Entity
@Data @Data
@ApiModel(description = "关键技术类")
public class Technology { public class Technology {
@Id @Id
...@@ -36,6 +39,7 @@ public class Technology { ...@@ -36,6 +39,7 @@ public class Technology {
/** /**
* 金额(万元) * 金额(万元)
*/ */
@ApiModelProperty(value = "金额",example = "123")
private Integer fund; private Integer fund;
/** /**
...@@ -43,6 +47,7 @@ public class Technology { ...@@ -43,6 +47,7 @@ public class Technology {
* 2:不支持 * 2:不支持
* 3:未知 * 3:未知
*/ */
@ApiModelProperty(value = "是否支持",example = "1")
private Integer support; private Integer support;
/** /**
...@@ -50,6 +55,7 @@ public class Technology { ...@@ -50,6 +55,7 @@ public class Technology {
* 1:前端技术 * 1:前端技术
* 2:后端技术 * 2:后端技术
*/ */
@ApiModelProperty(value = "技术类型",example = "2")
@Column(name = "back_or_front") @Column(name = "back_or_front")
private Integer backorfront =2; private Integer backorfront =2;
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论