92 lines
2.2 KiB
Java
92 lines
2.2 KiB
Java
package com.xkrs.model.entity;
|
||
|
||
import javax.persistence.*;
|
||
import java.io.Serializable;
|
||
|
||
/**
|
||
* 火情信息全局配置信息
|
||
*/
|
||
@Entity
|
||
@Table(name = "config_global_fire_point")
|
||
public class ConfigGlobalFirePointEntity implements Serializable {
|
||
|
||
/**
|
||
* 主键id
|
||
*/
|
||
@Id
|
||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "config_global_fire_point_seq_gen")
|
||
@SequenceGenerator(name = "config_global_fire_point_seq_gen", sequenceName = "config_global_fire_point_id_seq", allocationSize = 1)
|
||
private Long id;
|
||
|
||
/**
|
||
* 过期后能否获取今日火情信息
|
||
* 0:不能获取
|
||
* 1:能够获取
|
||
*/
|
||
private Long todayAbleWhenExpired;
|
||
|
||
/**
|
||
* 过期后能否获取历史火情信息
|
||
* 0:不能获取
|
||
* 1:能够获取
|
||
*/
|
||
private Long historyAbleWhenExpired;
|
||
|
||
/**
|
||
* 过期后能否获取统计分析数据
|
||
* 0:不能获取
|
||
* 1:能够获取
|
||
*/
|
||
private Long statisticsAbleWhenExpired;
|
||
|
||
/**
|
||
* 过期后能否使用导航功能
|
||
* 0:不能导航
|
||
* 1:能够导航
|
||
*/
|
||
private Long navigateAbleWhenExpired;
|
||
|
||
public ConfigGlobalFirePointEntity() {
|
||
}
|
||
|
||
public Long getId() {
|
||
return id;
|
||
}
|
||
|
||
public void setId(Long id) {
|
||
this.id = id;
|
||
}
|
||
|
||
public Long getTodayAbleWhenExpired() {
|
||
return todayAbleWhenExpired;
|
||
}
|
||
|
||
public void setTodayAbleWhenExpired(Long todayAbleWhenExpired) {
|
||
this.todayAbleWhenExpired = todayAbleWhenExpired;
|
||
}
|
||
|
||
public Long getHistoryAbleWhenExpired() {
|
||
return historyAbleWhenExpired;
|
||
}
|
||
|
||
public void setHistoryAbleWhenExpired(Long historyAbleWhenExpired) {
|
||
this.historyAbleWhenExpired = historyAbleWhenExpired;
|
||
}
|
||
|
||
public Long getStatisticsAbleWhenExpired() {
|
||
return statisticsAbleWhenExpired;
|
||
}
|
||
|
||
public void setStatisticsAbleWhenExpired(Long statisticsAbleWhenExpired) {
|
||
this.statisticsAbleWhenExpired = statisticsAbleWhenExpired;
|
||
}
|
||
|
||
public Long getNavigateAbleWhenExpired() {
|
||
return navigateAbleWhenExpired;
|
||
}
|
||
|
||
public void setNavigateAbleWhenExpired(Long navigateAbleWhenExpired) {
|
||
this.navigateAbleWhenExpired = navigateAbleWhenExpired;
|
||
}
|
||
}
|