Commit 713d4dd5 authored by nanahira's avatar nanahira

clean

parent cf0c9fb8
Pipeline #9717 passed with stages
in 1 minute and 25 seconds
import { ApiProperty } from '@nestjs/swagger';
import { HttpException } from '@nestjs/common';
import { User } from '../entities/User.entity';
import { PageSettingsWise } from './PageSettings.dto';
export interface BlankReturnMessage {
......
import {
Column,
Entity,
JoinColumn,
ManyToOne,
OneToMany,
SelectQueryBuilder,
} from 'typeorm';
import { ApiProperty } from '@nestjs/swagger';
import { Exclude, Expose } from 'class-transformer';
import { ManualNameDescBase } from './bases/ManualNameDescBase.entity';
import { EnumColumn } from './decorators/base';
import { RelationColumn, StringRelationColumn } from './decorators/relation';
import { IsNotEmpty, IsOptional, IsPositive } from 'class-validator';
import { QueryWise } from './interfaces/QueryWise';
import { applyQueryProperty } from './utility/query';
export enum UserRole {
Admin = 'admin',
Student = 'student',
teacher = 'teacher',
}
@Entity()
export class User extends ManualNameDescBase implements QueryWise<User> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment