package com.gkhy.labRiskManage.domain.account.entity; import javax.persistence.*; import java.time.LocalDateTime; @Entity @Table(name = "sys_role_menu_bind") public class RoleMenuBind { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column private Long roleId; @Column private Long menuItemId; @Column private LocalDateTime gmtCreate; @Column private LocalDateTime gmtModified; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getRoleId() { return roleId; } public void setRoleId(Long roleId) { this.roleId = roleId; } public Long getMenuItemId() { return menuItemId; } public void setMenuItemId(Long menuItemId) { this.menuItemId = menuItemId; } public LocalDateTime getGmtCreate() { return gmtCreate; } public void setGmtCreate(LocalDateTime gmtCreate) { this.gmtCreate = gmtCreate; } public LocalDateTime getGmtModified() { return gmtModified; } public void setGmtModified(LocalDateTime gmtModified) { this.gmtModified = gmtModified; } }