|  | @@ -0,0 +1,22 @@
 | 
	
		
			
				|  |  | +import {Entity, TableInheritance, PrimaryColumn, Column, ChildEntity} from "typeorm";
 | 
	
		
			
				|  |  | +import { ReactionType } from "./ReactionEmote";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +@Entity()
 | 
	
		
			
				|  |  | +@TableInheritance({ column: { type: "varchar", name: "type" } })
 | 
	
		
			
				|  |  | +export class KnownUser {
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +    @PrimaryColumn()
 | 
	
		
			
				|  |  | +    userID: string;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Column()
 | 
	
		
			
				|  |  | +    canModerate: boolean;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Column({ type: "varchar", default: ReactionType.NONE })
 | 
	
		
			
				|  |  | +    reactionType: ReactionType;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +@ChildEntity()
 | 
	
		
			
				|  |  | +export class User extends KnownUser { }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +@ChildEntity()
 | 
	
		
			
				|  |  | +export class UserRole extends KnownUser { }
 |