package com.xinda.itsm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinda.common.annotation.Excel;
import com.xinda.common.core.domain.BaseEntity;

/**
 * 巡检记录对象 inspection_record
 *
 * @author kerwincui
 * @date 2025-04-23
 */
@ApiModel(value = "InspectionRecord",description = "巡检记录 inspection_record")
@Data
public class InspectionRecord extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 计划id */
            @Excel(name = "计划id")
            @ApiModelProperty("计划id")
    private Long planId;

    /** 计划名称 */
            @Excel(name = "计划名称")
            @ApiModelProperty("计划名称")
    private String planName;

    /** 计划内容 */
            @Excel(name = "计划内容")
            @ApiModelProperty("计划内容")
    private String planContent;

    /** 项目名称 */
            @Excel(name = "项目名称")
            @ApiModelProperty("项目名称")
    private String projectName;

    /** 计划巡检时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "计划巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
            @ApiModelProperty("计划巡检时间")
    private Date planTime;

    /** 实际巡检时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "实际巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
            @ApiModelProperty("实际巡检时间")
    private Date inspectionTime;

    /** 巡检人 */
            @Excel(name = "巡检人")
            @ApiModelProperty("巡检人")
    private String inspectionPerson;

    /** 巡检人id */
            @Excel(name = "巡检人id")
            @ApiModelProperty("巡检人id")
    private String userId;

    /** 巡检周期 */
            @Excel(name = "巡检周期")
            @ApiModelProperty("巡检周期")
    private String inspectionCycle;

    /** 周期 */
            @Excel(name = "周期")
            @ApiModelProperty("周期")
    private String cycle;

    /** 巡检状态(默认值为0：待进行) */
            @Excel(name = "巡检状态(默认值为0：待进行)")
            @ApiModelProperty("巡检状态(默认值为0：待进行)")
    private String inspectionStatus;

    /** 巡检备注 */
            @Excel(name = "巡检备注")
            @ApiModelProperty("巡检备注")
    private String inspectionRemark;

}
