package com.ruoyi.bst.fault.domain;

import java.time.LocalDateTime;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.interfaces.LogBizParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 故障对象 bst_fault
 *
 * @author ruoyi
 * @date 2025-03-26
 */
@Data
public class Fault extends BaseEntity implements LogBizParam
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "用户")
    @ApiModelProperty("用户")
    private String userName;

    @Excel(name = "车辆编号")
    @ApiModelProperty("车辆编号")
    private String vehicleCode;

    @Excel(name = "图片")
    @ApiModelProperty("图片")
    private String picture;

    @Excel(name = "订单编号")
    @ApiModelProperty("订单编号")
    private Long orderId;

    @Excel(name = "商戶id")
    @ApiModelProperty("商戶编号")
    private Long storeId;

    @Excel(name = "运营区id")
    @ApiModelProperty("运营区编号")
    private Long areaId;

    @Excel(name = "故障部位")
    @ApiModelProperty("故障部位")
    private String faultSite;

    @Excel(name = "故障详情")
    @ApiModelProperty("故障详情")
    private String faultDetail;

    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String appealStatus;

    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    @Excel(name = "是否处理")
    @ApiModelProperty("是否处理")
    private String handle;

    @Excel(name = "订单结束时间")
    @ApiModelProperty("订单结束时间")
    private LocalDateTime orderEndTime;

    @Excel(name = "车牌号")
    @ApiModelProperty("车牌号")
    private String vehicleNum;

    @Excel(name = "审核备注")
    @ApiModelProperty("审核备注")
    private String verifyRemark;

    @Excel(name = "审核结束时间")
    @ApiModelProperty("审核结束时间")
    private LocalDateTime verifyEndTime ;

    @ApiModelProperty("审核人ID")
    private Long verifyBy;

    @Override
    public Object logBizId() {
        return id;
    }

}
