package org.jeecg.modules.inspection.entity;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @Description: 部位资产点位关联表
* @Author: jeecg-boot
* @Date: 2020-11-13
* @Version: V1.0
*/
@Data
@TableName("xs_inspection_position_asset_plan")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="xs_inspection_position_asset_plan对象", description="部位资产点位关联表")
public class XsInspectionPositionAssetPlan implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "主键")
private java.lang.String id;
/**创建人*/
@ApiModelProperty(value = "创建人")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private java.util.Date createTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private java.lang.String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
/**部位id*/
@Excel(name = "部位id", width = 15)
@ApiModelProperty(value = "部位id")
private java.lang.String positionId;
/**点位id*/
@Excel(name = "点位id", width = 15)
@ApiModelProperty(value = "点位id")
private java.lang.String assetInspectionPlanId;
/**签到id*/
@Excel(name = "签到id", width = 15)
@ApiModelProperty(value = "签到id")
private java.lang.String signId;
/**记录id*/
@Excel(name = "记录id", width = 15)
@ApiModelProperty(value = "记录id")
private java.lang.String recordId;
/**删除属性*/
@Excel(name = "删除属性", width = 15)
@ApiModelProperty(value = "删除属性")
private java.lang.String delFlag;
/**部位巡检状态
* -1待巡检
* 0完成巡检
* */
@Excel(name = "部位巡检状态", width = 15)
@ApiModelProperty(value = "部位巡检状态")
private java.lang.String positionInspectionType;
/**部位巡检扫码时间
* */
@Excel(name = "部位巡检时间", width = 15)
@ApiModelProperty(value = "部位巡检时间")
private java.lang.String positionInspectionDate;
/**动环id
* */
@Excel(name = "动环id", width = 15)
@ApiModelProperty(value = "动环id")
private java.lang.String movingRingId;
//---------不在数据库内--------- 显示list数据
/**点位名称*/
@TableField(exist = false)
private java.lang.String xsAssetInspectionPlanName;
/**项目名称*/
@TableField(exist = false)
private java.lang.String xsInspectionItemsName;
/**部位名称*/
@TableField(exist = false)
private java.lang.String xsInspectionPositionName;
/**项目状态*/
@TableField(exist = false)
@Dict(dicCode = "item_types")
private java.lang.String xsInspectionItemsType;
/**扫描时间*/
@TableField(exist = false)
private java.lang.String scanningTime;
//----下面均为 记录表内容
/**名称*/
@TableField(exist = false)
private java.lang.String name;
/**巡检时间*/
@TableField(exist = false)
private java.lang.String inspectionTime;
/**记录状态*/
@TableField(exist = false)
private java.lang.String statusId;
/**录入数据*/
@TableField(exist = false)
private java.lang.String readingData;
/**录入数据单位*/
@TableField(exist = false)
private java.lang.String readingDataCompany;
/**问题*/
@TableField(exist = false)
private java.lang.String positionProblemIds;
/**问题照片*/
@TableField(exist = false)
private java.lang.String problemPhoto;
/**问题处理*/
@TableField(exist = false)
private java.lang.String problemHandling;
/**问题描述*/
@TableField(exist = false)
private java.lang.String problemDescribe;
/**巡检备注*/
@TableField(exist = false)
private java.lang.String remarks;
/**点位状态*/
@TableField(exist = false)
private java.lang.String pointStatus;
//--------- 查询需要-------
/**当天时间*/
@TableField(exist = false)
private java.lang.String startStr;
/**房间id*/
@TableField(exist = false)
private java.lang.String areaId;
/**时间段id*/
@TableField(exist = false)
private java.lang.String periodId;
/**计划id*/
@TableField(exist = false)
private java.lang.String planId;
//-----------部位状态-------------
/**部位状态list*/
@TableField(exist = false)
private List<XsInspectionRecordType> xsInspectionRecordTypeList;
/**部位状态(单位)id*/
@TableField(exist = false)
private java.lang.String inspectionTypeId;
/**部位状态(单位)名称*/
@TableField(exist = false)
private java.lang.String inspectionTypeName;
/**是否开启数据功能 0 开起 -1未开启
* */
@TableField(exist = false)
private java.lang.String cameraStatus;
//如果获取到动力环境数据将不能修改
@TableField(exist = false)
private java.lang.String dataStatus;
@TableField(exist = false)
private java.lang.String optionStatus;
//------动力环境数据-------------
/**动力环境名称*/
@TableField(exist = false)
private java.lang.String varName;
/**数据*/
@TableField(exist = false)
private java.lang.String value;
/**单位*/
@TableField(exist = false)
private java.lang.String company;
/**时间*/
@TableField(exist = false)
private java.lang.String date;
/**通信状态*/
@TableField(exist = false)
private java.lang.String commState;
/**报警状态*/
@TableField(exist = false)
private java.lang.String alarmState;
/**是否撤防*/
@TableField(exist = false)
private java.lang.String isDisArming;
/**是否运行*/
@TableField(exist = false)
private java.lang.String isOverHauling;
/**报警级别*/
@TableField(exist = false)
private java.lang.String alarmLevel;
/**动环数据已同步*/
@TableField(exist = false)
private java.lang.Boolean dlhjDataState;
}
说明:1.数据类型只能使用包装类型来修饰属性。