package com.yunzhi.marketing.xlk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户组织机构表 
 * </p>
 *
 * @author jobob
 * @since 2021-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xlk_user_institution")
public class UserInstitution implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户组织架构id
     */
    @TableId(type = IdType.UUID)
    private String userInstitutionId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 公司id
     */
    private Integer orgId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 组织机构id
     */
    private String institutionId;


}
