InspectionTaskFillContent.java 2.6 KB
package com.skua.modules.inspection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 巡检任务-填报内容
 */
@Data
@TableName("inspection_task_fill_content")
@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
@ApiModel(value="inspection_task_fill_content对象", description="巡检任务-填报内容")
public class InspectionTaskFillContent {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**巡检任务ID*/
	@Excel(name = "巡检任务ID", width = 15)
    @ApiModelProperty(value = "巡检任务ID")
	private String inspectionTaskId;
	/**巡检点ID*/
	@Excel(name = "巡检点ID", width = 15)
    @ApiModelProperty(value = "巡检点ID")
	private String inspectionPointId;
	/**巡检点-填报组ID*/
	@Excel(name = "巡检点-填报组ID", width = 15)
    @ApiModelProperty(value = "巡检点-填报组ID")
	private String inspectionPointFillGroupId;
	/**填报组ID*/
	@Excel(name = "填报组ID", width = 15)
    @ApiModelProperty(value = "填报组ID")
	private String inspectionFillGroupId;
	/**填报项ID*/
	@Excel(name = "填报项ID", width = 15)
    @ApiModelProperty(value = "填报项ID")
	private String inspectionFillId;
	/**填报内容*/
	@Excel(name = "填报内容", width = 15)
    @ApiModelProperty(value = "填报内容")
	private String fillContent;
	/**选项状态(0:异常,1正常)*/
	@Excel(name = "选项状态(0:异常,1正常)", width = 15)
	@ApiModelProperty(value = "选项状态(0:异常,1正常)")
	private String choiceState;
	private String fillRemark;
	private String inspectionTaskFillContentDescribeId;
	/**填报人*/
	@Excel(name = "填报人", width = 15)
    @ApiModelProperty(value = "填报人")
	private String fillUserId;
	/**填报时间*/
	@Excel(name = "填报时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "填报时间")
	private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
}