package com.zcloud.basic.info.domain.model;

import com.jjb.saas.framework.domain.model.BaseE;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * web-domain
 *
 * @Author zhaokai
 * @Date 2026-01-05 14:12:18
 */
@Data
public class UserExpandInfoE extends BaseE {
    //主键id
    private Long id;
    //业务主键id
    private String userExpandInfoId;
    //手机号
    private String phone;
    //是否流动人员，1-流动，0-固定人员
    private Integer flowFlag;
    //乐观锁
    private Integer version;
    //创建人
    private Long createId;
    //创建人姓名
    private String createName;
    //创建时间
    private LocalDateTime createTime;
    //更新人
    private Long updateId;
    //修改人名称
    private String updateName;
    //更新时间
    private LocalDateTime updateTime;
    //描述
    private String remarks;
    //是否删除
    private String deleteEnum;
    //租户ID
    private Long tenantId;
    //机构ID
    private Long orgId;
    //环境
    private String env;

    public void initAdd(UserE userE) {
        this.phone = userE.getPhone();
        this.flowFlag = userE.getFlowFlag();
    }
}

