package com.sinata.appointment.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = true) @TableName("mp_user") @Schema(description = "小程序用户(与平台 sys_user 分离)") public class MpUser extends BaseEntity { @Schema(description = "微信 openId") private String openId; @Schema(description = "公众号 openId") private String officialOpenId; @Schema(description = "微信 unionId") private String unionId; @Schema(description = "VISITOR / EMPLOYEE") private String userType; @Schema(description = "员工所属部门 id,访客为空") private Long deptId; @Schema(description = "是否部门负责人(员工有效)") private Boolean deptLeaderFlag; @Schema(description = "昵称") private String nickName; @Schema(description = "头像") private String avatarUrl; @Schema(description = "手机号") private String mobile; @Schema(description = "性别:男/女") private String gender; @Schema(description = "所属公司") private String companyName; @Schema(description = "员工编号") private String staffNo; /** 1 启用 0 禁用(员工/预建档有效) */ @Schema(description = "1启用 0禁用") private Integer status; }