wangzhibo
6 天以前 3f249e399659dcd09d3fe58071b146e50e45c17f
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_user_role')
export class BaseSysUserRoleEntity extends BaseEntity {
  @Column({ comment: '用户ID' })
  userId: number;
 
  @Column({ comment: '角色ID' })
  roleId: number;
}