package com.yeejoin.amos.boot.module.jxiop.biz.amosprojectentity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @description:
 * @author: tw
 * @createDate: 2023/11/9
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "std_user_empower",autoResultMap = true)
public class StdUserEmpower extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户userid
     */
    @TableField("amos_user_id")
    private String amosUserId;

    /**
     * 单位orgcode
     */
    @TableField(value = "amos_org_code",typeHandler = FastjsonTypeHandler.class)
    private List<String> amosOrgCode;



    /**
     * 权限类型
     */
    @TableField("permission_type")
    private String permissionType;

}
