package com.zcloud.zcGbsServicer.domain.model;

import com.alibaba.cola.domain.Entity;
import com.jjb.saas.framework.domain.model.BaseE;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* web-domain
* @Author makejava
* @Date 2026-01-21 17:23:34
*/
@Data
public class ResourcePersonE extends BaseE {
    //业务主键ID
    private String personId;
    //资源类型:1救援队,2控制室,3泵房,4水源
    private Integer bizType;
    //资源业务ID(对应主表biz_id)
    private String bizId;
    //人员角色:1队员,2值班人员,3指挥,4负责人
    private Integer roleCode;
    //人员姓名
    private String personName;
    //人员电话
    private String personPhone;
    //值班情况/职责描述
    private String dutyDesc;
    //排序
    private Integer sort;

    public void relInfo(String teamId, Integer bizType) {
        this.bizId = teamId;
        this.bizType = bizType;
    }
}

