|
|
|
@ -31,6 +31,7 @@ public class HazardLibraryEntity extends TenantEntity implements Serializable {
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "危险源类型") |
|
|
|
|
@NotNull |
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
|
private String type; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty("危险源名称") |
|
|
|
@ -54,6 +55,7 @@ public class HazardLibraryEntity extends TenantEntity implements Serializable {
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "风险等级 10=稍有危险 20=一般危险 30=显著危险 40=高度危险") |
|
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
|
private Integer level; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|