You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
300 B
15 lines
300 B
|
1 week ago
|
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;
|
||
|
|
}
|