package com.jkcredit.invoice.hub.model.po.rolePermission;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/14 22:34
 * @version: V1.0
 **/
@Entity
@Data
@ToString
@TableName("h_role_permission")
public class RolePermissionPo {
    @Id
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long roleId;
    private Long permissionId;
    private Date createTime;
    private Date updateTime;
    private Integer activated;
    private String permissionName;
}
