package com.tykj.workflowcore.user.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户")
@Table
public class UserAuthority {
    @Id
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "用户编号",example = "1")
    private String uid;

    @ApiModelProperty(value = "权限id")
    private Integer authorityId;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "权限类型 1系统权限  2客户端权限")
    private Integer type;











}
