wangzhibo
2026-07-16 bac4362a0b7726d38a23d38f0d7913f2c2bab262
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}