mirror of
https://github.com/suyiiyii/SIMS.git
synced 2025-06-03 12:56:10 +08:00
33 lines
758 B
Java
33 lines
758 B
Java
package top.suyiiyii.sims.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.tangzc.autotable.annotation.ColumnNotNull;
|
|
import com.tangzc.mpe.autotable.annotation.ColumnId;
|
|
import com.tangzc.mpe.autotable.annotation.Table;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
/**
|
|
* @Author tortoise
|
|
* @Date 2024/8/9 14:03
|
|
* @PackageName:top.suyiiyii.sims.entity
|
|
* @ClassName: RolePermission
|
|
* @Description: TODO
|
|
* @Version 1.0
|
|
*/
|
|
@Data
|
|
@Table
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class RolePermission {
|
|
|
|
@ColumnId(mode = IdType.AUTO, comment = "id主键")
|
|
|
|
private Integer id;
|
|
@ColumnNotNull
|
|
private Integer roleId;
|
|
@ColumnNotNull
|
|
private Integer permissionId;
|
|
}
|