package com.zcloud.zcGbsServicer.persistence.dataobject;

import cn.hutool.core.util.IdUtil;
import com.baomidou.mybatisplus.annotation.*;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
* web-infrastructure
* @Author makejava
* @Date 2026-01-21 17:23:00
*/
@Data
@TableName("rescue_team")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RescueTeamDO extends BaseDO {
    //业务主键ID
    @ApiModelProperty(value = "业务主键ID")
    private String teamId;
    //救援队名称
    @ApiModelProperty(value = "救援队名称")
    private String teamName;
    //类型(字典码)
    @ApiModelProperty(value = "类型(字典码)")
    private String teamType;
    //负责人单位或部门
    @ApiModelProperty(value = "负责人单位或部门")
    private String chargeOrgDept;
    //队长
    @ApiModelProperty(value = "队长")
    private String captainName;
    //队长电话
    @ApiModelProperty(value = "队长电话")
    private String captainPhone;
    //建立日期
    @ApiModelProperty(value = "建立日期")
    private LocalDate establishDate;
    //所属区域或范围(字典码)
    @ApiModelProperty(value = "所属区域或范围(字典码)")
    private String regionScope;
    //职责和任务范围
    @ApiModelProperty(value = "职责和任务范围")
    private String dutyScope;

  public RescueTeamDO(String teamId) {
        this.teamId = IdUtil.simpleUUID();
    }

}

