package com.bonus.material.device.domain;

import com.bonus.common.biz.domain.BmFileInfo;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 装备质检表(MaDevQc)实体类
 *
 * @author makejava
 * @since 2024-12-05 15:51:33
 */
@Data
public class MaDevRm extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 810056154627295208L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "装备id")
    private Integer maId;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "装备名称")
    private String deviceName;

    @ApiModelProperty(value = "维保编码")
    private String rmCode;

    @ApiModelProperty(value = "维保日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rmTime;

    @ApiModelProperty(value = "维保开始日期")
    private String rmStartTime;

    @ApiModelProperty(value = "维保结束日期")
    private String rmEndTime;

    @ApiModelProperty(value = "上传开始日期")
    private String createStartTime;

    @ApiModelProperty(value = "上传结束日期")
    private String createEndTime;

    @ApiModelProperty(value = "附件信息")
    private List<BmFileInfo> fileInfoList;

    @ApiModelProperty(value = "附件地址")
    private String url;

    @ApiModelProperty(value = "上传人")
    private String nickName;

    @ApiModelProperty(value = "上传人所属公司")
    private String rmCom;

    @ApiModelProperty(value = "维保次数")
    private Integer minNum;
    private Integer maxNum;

    @ApiModelProperty(value = "维保次数")
    private Integer num;
    @ApiModelProperty(value = "文件id")
    private Integer fileId;

}

