Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / WarnTeamBoss.java
package com.newfiber.api.pc.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 应急队伍领导层
 * @ClassName WarnTeamBoss
 * @Description TODO
 * @Author 张鸿志
 * @Date sj 19:07
 * Version 1.0
 **/
@Data
@TableName("warn_team_boss")
@ApiModel
public class WarnTeamBoss implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("unit")
    @ApiModelProperty("所属单位")
    private String unit;

    @TableField("name")
    @ApiModelProperty("姓名")
    private String name;

    @TableField("job")
    @ApiModelProperty("职务")
    private String job;

    @TableField("phone")
    @ApiModelProperty("手机号")
    private String phone;

    @TableField("user_no")
    @ApiModelProperty("用户唯一编号")
    private String userNo;

    @TableField("special_plane")
    @ApiModelProperty("座机")
    private String specialPlane;

    @TableField("duty")
    @ApiModelProperty("责任任务")
    private String duty;

    @TableField("is_appr_user")
    @ApiModelProperty("是否是审批人员")
    private Integer isApprUser;

    @TableField("org_type")
    @ApiModelProperty("组织类型")
    private Integer orgType;

    @TableField("org_name")
    @ApiModelProperty("组织名称")
    private String orgName;

    @TableField(exist = false)
    private List<WarnTeamSup> warnTeamSups;
}