package com.xunhong.erp.turbo.rbac.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunhong.erp.turbo.datasource.domain.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName(value = "permission")
@EqualsAndHashCode(callSuper = true)
public class PermissionDO extends BaseDO<PermissionDO> {

	@TableId(value = "permission_id", type = IdType.ASSIGN_ID)
	private Long permissionId;

	@TableField(value = "slug")
	private String slug;

	@TableField(value = "name")
	private String name;
}
