package com.product.data.center.entity;
|
|
import java.util.Date;
|
|
/**
|
* 重要操作日志信息
|
*
|
* @author
|
*/
|
public class JournalEntity {
|
private Integer id; //物理主键
|
private String uuid; //唯一标识
|
private Integer type; //类型
|
private Integer detail; //细项
|
private Integer result; //执行结果 1:成功 0:失败
|
private String error; //执行失败异常信息
|
private Integer count; //执行总条数
|
private String min_id; //操作数据id最小值
|
private String max_id; //操作数据id最大值
|
private Integer deal_flag; //是否处理 1:是 0:否
|
private Integer deal_result;//处理结果 1:成功 0:失败
|
private Long single_duration;//处理时长
|
private String data_source; //数据源uuid
|
private Integer next_step_status;//下一步处理状态
|
private String pre_step_uuid; //上一步操作uuid,溯源
|
private String source_uuid; //源日志uuid
|
private String config_uuid; //连接配置表uuid(对应各个类型的表)
|
private Date statistics_start_time; //统计开始时间
|
private Date statistics_final_time; //统计结束时间
|
private String other_info; //其他信息
|
|
private Date created_utc_datetime; //创建时间
|
private Date updated_utc_datetime; //修改时间
|
|
private String configUuid;//配置uuid
|
|
|
public JournalEntity() {
|
}
|
|
/**
|
* 生成日志
|
*/
|
public JournalEntity(Integer type, Integer detail, Integer result, String error, Integer count, Integer min_id, Integer max_id) {
|
this.type = type;
|
this.detail = detail;
|
this.result = result;
|
this.error = error;
|
this.count = count;
|
this.min_id = min_id + "";
|
this.max_id = max_id + "";
|
}
|
|
/**
|
* 生成日志
|
*/
|
public JournalEntity(Integer type, Integer detail, Integer result, String error, Integer count, String min_id, String max_id) {
|
this.type = type;
|
this.detail = detail;
|
this.result = result;
|
this.error = error;
|
this.count = count;
|
this.min_id = min_id + "";
|
this.max_id = max_id + "";
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getUuid() {
|
return uuid;
|
}
|
|
public void setUuid(String uuid) {
|
this.uuid = uuid;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getDetail() {
|
return detail;
|
}
|
|
public void setDetail(Integer detail) {
|
this.detail = detail;
|
}
|
|
public Integer getResult() {
|
return result;
|
}
|
|
public void setResult(Integer result) {
|
this.result = result;
|
}
|
|
public String getError() {
|
return error;
|
}
|
|
public void setError(String error) {
|
this.error = error;
|
}
|
|
public Integer getCount() {
|
return count;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
|
public String getMin_id() {
|
return min_id;
|
}
|
|
public void setMin_id(Integer min_id) {
|
this.min_id = String.valueOf(min_id);
|
}
|
|
public void setMin_id(String min_id) {
|
this.min_id = min_id;
|
}
|
|
public String getMax_id() {
|
return max_id;
|
}
|
|
|
public void setMax_id(Integer max_id) {
|
this.max_id = String.valueOf(max_id);
|
}
|
|
public void setMax_id(String max_id) {
|
this.max_id = max_id;
|
}
|
|
public Integer getDeal_flag() {
|
return deal_flag;
|
}
|
|
public void setDeal_flag(Integer deal_flag) {
|
this.deal_flag = deal_flag;
|
}
|
|
public Integer getDeal_result() {
|
return deal_result;
|
}
|
|
public void setDeal_result(Integer deal_result) {
|
this.deal_result = deal_result;
|
}
|
|
public Long getSingle_duration() {
|
return single_duration;
|
}
|
|
public void setSingle_duration(Long single_duration) {
|
this.single_duration = single_duration;
|
}
|
|
public String getData_source() {
|
return data_source;
|
}
|
|
public void setData_source(String data_source) {
|
this.data_source = data_source;
|
}
|
|
public Integer getNext_step_status() {
|
return next_step_status;
|
}
|
|
public void setNext_step_status(Integer next_step_status) {
|
this.next_step_status = next_step_status;
|
}
|
|
public String getPre_step_uuid() {
|
return pre_step_uuid;
|
}
|
|
public void setPre_step_uuid(String pre_step_uuid) {
|
this.pre_step_uuid = pre_step_uuid;
|
}
|
|
public String getSource_uuid() {
|
return source_uuid;
|
}
|
|
public void setSource_uuid(String source_uuid) {
|
this.source_uuid = source_uuid;
|
}
|
|
public String getConfig_uuid() {
|
return config_uuid;
|
}
|
|
public void setConfig_uuid(String config_uuid) {
|
this.config_uuid = config_uuid;
|
this.configUuid=config_uuid;
|
}
|
|
public Date getStatistics_start_time() {
|
return statistics_start_time;
|
}
|
|
public void setStatistics_start_time(Date statistics_start_time) {
|
this.statistics_start_time = statistics_start_time;
|
}
|
|
public Date getStatistics_final_time() {
|
return statistics_final_time;
|
}
|
|
public void setStatistics_final_time(Date statistics_final_time) {
|
this.statistics_final_time = statistics_final_time;
|
}
|
|
public String getOther_info() {
|
return other_info;
|
}
|
|
public void setOther_info(String other_info) {
|
this.other_info = other_info;
|
}
|
|
public Date getCreated_utc_datetime() {
|
return created_utc_datetime;
|
}
|
|
public void setCreated_utc_datetime(Date created_utc_datetime) {
|
this.created_utc_datetime = created_utc_datetime;
|
}
|
|
public Date getUpdated_utc_datetime() {
|
return updated_utc_datetime;
|
}
|
|
public void setUpdated_utc_datetime(Date updated_utc_datetime) {
|
this.updated_utc_datetime = updated_utc_datetime;
|
}
|
|
public String getConfigUuid() {
|
return configUuid;
|
}
|
|
public void setConfigUuid(String configUuid) {
|
this.configUuid = configUuid;
|
this.config_uuid=this.configUuid;
|
}
|
}
|