package com.yeejoin.amos.boot.module.common.api.dto;

import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import com.yeejoin.amos.boot.module.common.api.entity.SourceFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author system_generator
 * @date 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "FailureMaintainDto", description = "")
public class FailureMaintainDto extends BaseDto {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "维修人")
    private String maintainMan;

    @ApiModelProperty(value = "维修时间")
    private Date maintainTime;

    @ApiModelProperty(value = "维修人手机号")
    private Long maintainPhone;

    @ApiModelProperty(value = "所属部门ID")
    private String bizId;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "维修内容")
    private String maintainContent;

    @ApiModelProperty(value = "记录类型")
    private String recoreType;

    @ApiModelProperty(value = "验收意见")
    private String acceptanceOpinion;

    @ApiModelProperty(value = "设备故障报修主表ID")
    private Long faultId;

    @ApiModelProperty(value = "附件")
    private List<SourceFile> attachment;
    
    @ApiModelProperty(value = "审核结果条件判断，0同意，1拒绝，2驳回")
    private String condition;

}
