package com.zcloud.basic.info.persistence.dataobject.sync;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * web-infrastructure
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:35
 */
@Data
@TableName("user")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SyncUserDO extends BaseDO {

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;



    @ApiModelProperty(value = "部门id")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称")
    @TableField(exist = false)
    private String departmentName;


    @ApiModelProperty(value = "岗位名称")
    @TableField(exist = false)
    private String postName;


    @ApiModelProperty(value = "邮箱")
    private String email;

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


    @ApiModelProperty(value = "人员类型翻译")
    private String personnelTypeName;


    @ApiModelProperty(value = "民族名称")
    private String nationName;

    @ApiModelProperty(value = "身份证号")
    private String userIdCard;

    @ApiModelProperty(value = "年龄")
    @TableField(exist = false)
    private Integer age;

    @ApiModelProperty(value = "生日")
    @TableField(exist = false)
    private String birthday;

    @ApiModelProperty(value = "性别")
    @TableField(exist = false)
    private String sex;

}
