package com.djhk.uav.uav.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.djhk.common.annotation.Excel;
import com.djhk.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 维修信息维护   Service接口
 * @description
 * @author mayongkai
 * @date 2023/3/11 19:16:58
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UavRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 无人机维修记录表 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 无人机设备ID */
    @Excel(name = "无人机设备ID")
    private String uavNum;

    /** 无人机名称 */
    @Excel(name = "无人机名称")
    private String uavName;


    /** 无人机机号 */
    private String machineNum;

    /** 无人机型号 */
    private String uavType;

    /** 企业名称 */
    private String companyName;


    /** $column.columnComment */
    private String delFlag;

    /** 维修时间 */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repairTime;

    /** 维修说明 */
    @TableField(exist = false)
//    @Excel(name = "维修说明")
    private String repairExplain;

    /** 维修状态 */
    @Excel(name = "维修状态")
    private String repairStatus;

}
