com.zznote.basecommon.entity.system.TRoleMenu Maven / Gradle / Ivy
The newest version!
package com.zznote.basecommon.entity.system;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 角色和菜单关联表
*
* @author zhangzhen
* @email [email protected]
* @date 2022-04-12 17:04:17
*/
@Data
@NoArgsConstructor
@ApiModel("角色和菜单关联")
@TableName("t_role_menu")
public class TRoleMenu implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 角色ID
*/
@TableId(type = IdType.INPUT)
@ApiModelProperty(value = "角色ID")
private Long roleId;
/**
* 菜单ID
*/
@ApiModelProperty(value = "角色ID")
private Long menuId;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy