package com.casic.missiles.dto.business.siteExecutive;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zt
 * @since 2023-3-07
 */

@ApiModel
@Data
public class EquipmentFixedAssetsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", dataType = "Long", required = true)
    private Long id;

    /**
     * 资产编号
     */
    @ExcelProperty("固定资产编号")
    @ApiModelProperty(value = "资产编号", dataType = "String", required = true)
    private String assetNo;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号", dataType = "String", required = true)
    private String equipmentNo;

    /**
     * 设备名称
     */
    @ExcelProperty("设备名称")
    @ApiModelProperty(value = "设备名称", dataType = "String", required = true)
    private String equipmentName;


    /**
     * 型号
     */
    @ExcelProperty("型号")
    @NotBlank(message = "型号不能为空")
    @ApiModelProperty(value = "型号", dataType = "String", required = true)
    private String modelNo;

    /**
     * 工作开始前外观及功能检查
     */
    @ApiModelProperty(value = "工作开始前外观及功能检查", dataType = "String")
    private String beforeWorkCheck;

    /**
     * 工作开始前指标测试结果
     */
    @ApiModelProperty(value = "工作开始前指标测试结果", dataType = "String")
    private String beforeWorkResult;

    /**
     * 工作开始前记录人-计量人员id
     */
    @ApiModelProperty(value = "工作开始前记录人-计量人员id", dataType = "Long")
    private Long beforeWorkRecorderId;

    /**
     * 工作开始前记录日期
     */
    @ApiModelProperty(value = "工作开始前记录日期", dataType = "String")
    private String beforeWorkRecorderDate;

    /**
     * 工作完成后外观及功能检查
     */
    @ApiModelProperty(value = "工作完成后外观及功能检查", dataType = "String")
    private String afterWorkCheck;

    /**
     * 工作完成后指标测试结果
     */
    @ApiModelProperty(value = "工作完成后指标测试结果", dataType = "String")
    private String afterWorkResult;

    /**
     * 工作完成后记录人-计量人员id
     */
    @ApiModelProperty(value = "工作完成后记录人-计量人员id", dataType = "Long")
    private Long afterWorkRecorderId;

    /**
     * 工作完成后记录日期
     */
    @ApiModelProperty(value = "工作完成后记录日期", dataType = "String")
    private String afterWorkRecorderDate;


}
