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

import com.alibaba.fastjson.JSONObject;
import com.yeejoin.amos.boot.module.ugp.api.entity.Equipment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.util.List;

/**
 * 设备信息表
 *
 * @author system_generator
 * @date 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="EquipmentDto", description="设备信息表")
public class EquipmentDto  extends BaseDto {

   private static final long serialVersionUID = 1L;

    Equipment equipment;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "企业id")
    private Long companyId;

    @ApiModelProperty(value = "设备编号")
    private String code;

    @ApiModelProperty(value = "设备类型")
    private String type;

    @ApiModelProperty(value = "生产厂家")
    private String manufacturer;

    @ApiModelProperty(value = "出厂日期")
    private Date manufactureDate;

    @ApiModelProperty(value = "使用年限")
    private String serviceLife;

    @ApiModelProperty(value = "检定状态")
    private String verifyStatus;

    @ApiModelProperty(value = "检验日期")
    private Date inspectionDate;

    @ApiModelProperty(value = "使用状态")
    private String useStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "单位机构代码")
    private String orgCode;

    private String companyName;

    /**
     * 附件
     */
    private List<JSONObject> files;


}
