chore: src/modules/base/entity/sys/role_department.ts

This commit is contained in:
2026-07-01 17:56:01 +08:00
parent 387149abc8
commit 44b79ca7ef
@@ -0,0 +1,14 @@
import { BaseEntity } from '../base';
import { Column, Entity } from 'typeorm';
/**
* 角色部门
*/
@Entity('base_sys_role_department')
export class BaseSysRoleDepartmentEntity extends BaseEntity {
@Column({ comment: '角色ID' })
roleId: number;
@Column({ comment: '部门ID' })
departmentId: number;
}