package com.artfess.rescue.event.model;

import com.baomidou.mybatisplus.annotation.*;
import com.artfess.base.entity.BaseModel;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 救援派遣信息
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 系统管理员
 * @since 2024-10-24
 */
@Data
@TableName("biz_rescue_dispatch")
@ApiModel(value="BizRescueDispatch对象", description="救援派遣信息")
public class BizRescueDispatch extends BaseModel<BizRescueDispatch> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键_ID")
    @TableId(value = "ID_", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "救援ID")
    @TableField("RESCUE_ID_")
    private String rescueId;

    @ApiModelProperty(value = "派遣时间")
    @TableField("DISPATCH_TIME_")
    private LocalDateTime dispatchTime;

    @ApiModelProperty(value = "派遣队伍ID")
    @TableField("DISPATCH_TEAM_ID_")
    private String dispatchTeamId;

    @ApiModelProperty(value = "派遣队伍名称")
    @TableField("DISPATCH_TEAM_NAME_")
    private String dispatchTeamName;

    @ApiModelProperty(value = "派遣人员ID")
    @TableField("DISPATCH_USER_ID_")
    private String dispatchUserId;

    @ApiModelProperty(value = "派遣人员姓名")
    @TableField("DISPATCH_USER_NAME_")
    private String dispatchUserName;

    @ApiModelProperty(value = "派遣人员电话")
    @TableField("DISPATCH_USER_TEL_")
    private String dispatchUserTel;

//    @ApiModelProperty(value = "派遣人员类型")
//    @TableField("DISPATCH_TYPE_")
//    private String dispatchType;

    @ApiModelProperty(value = "派遣车辆code")
    @TableField("DISPATCH_CAR_CODE_")
    private String dispatchCarCode;

    @ApiModelProperty(value = "派遣车辆类型")
    @TableField("DISPATCH_CAR_TYPE_")
    private String dispatchCarType;

    @TableLogic
    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DELE_")
    private String isDele="0";


}
