Added annotations for course variables

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-06-18 23:37:42 +02:00
parent a302feb17d
commit 82e8a9c554
1 changed files with 17 additions and 0 deletions

View File

@ -1,13 +1,30 @@
library titama.messages;
import 'package:rpc/rpc.dart';
class Course {
@ApiProperty(required: true)
String title;
@ApiProperty(required: true)
String time;
@ApiProperty(required: true)
String day;
@ApiProperty(defaultValue: "")
String kind;
@ApiProperty(defaultValue: "")
String place;
@ApiProperty(defaultValue: "")
String prof;
@ApiProperty(defaultValue: "")
String turnin;
@ApiProperty()
int id;
Course();