package com.newfiber.api.pc.model.meet; 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 lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.validator.constraints.Email; import javax.validation.constraints.Pattern; import java.io.Serializable; /** * 应急指挥-人员 * @Author:zhz * @CreateDate:2020/11/24 13:13 * @Description: */ @Data @NoArgsConstructor @TableName("meet_people") public class People implements Serializable { /** 主键id */ @TableId(value = "p_id",type = IdType.AUTO) private Integer pId; /** 人员名字 */ @TableField("people_name") private String peopleName; /** 职责状态id */ @TableField("duty_type") private Integer dutyType; /** 职责名称 */ @TableField("duty_name") private String dutyName; /** 联系手机 */ @Pattern(regexp = "1[3|4|5|7|8][0-9]\\d{8}") @TableField("phone") private String phone; /** 住宅电话 */ @TableField("tel") private String tel; /** 电子邮箱 */ @Email @TableField("email") private String email; /** 区域编号 */ @TableField("area_id") private Integer areaId; /** 区域名称 */ @TableField("area_name") private String areaName; @TableField("people_no") private String peopleNo; @TableField("job") private String job; }