Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 45 additions & 8 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added ImageDiagrams/Sc_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
977 changes: 977 additions & 0 deletions basicprogramming_2.csv

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/main/java/org/example/Main.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package org.example;public class Main {
package org.example;

public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/org/example/Models/Chapter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.example.Models;

import java.util.ArrayList;

public class Chapter {
public int Pk_Id;
public String Chapter;
public String Fk_CollectionIdTasks;
public ArrayList<Integer> CollectionId;

public Chapter(String chapter, String collectionIdTasks) {
this.Chapter = chapter;
this.Fk_CollectionIdTasks = collectionIdTasks;
}
}
19 changes: 19 additions & 0 deletions src/main/java/org/example/Models/Course.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package org.example.Models;

import java.util.Dictionary;

public class Course {
public int Pk_Id;
public String Name;
public int Score;
public int Semester;
public String Fk_CollectionsCourseId;
protected Dictionary<Integer, String> CollectionsCourse;

public Course(String name, int score, int semester, String fk_CollectionsCourseId) {
this.Name = name;
this.Score = score;
this.Semester = semester;
this.Fk_CollectionsCourseId = fk_CollectionsCourseId;
}
}
16 changes: 16 additions & 0 deletions src/main/java/org/example/Models/Student.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.example.Models;

public class Student {
public int Pk_Id;
public String FirstName;
public String LastName;
public String Group;
public int Fk_id_course;

public Student(String firstName, String lastname, String group, String id_course) {
this.FirstName = firstName;
this.LastName = lastname;
this.Group = group;
this.Fk_id_course = Integer.parseUnsignedInt(id_course);
}
}
16 changes: 16 additions & 0 deletions src/main/java/org/example/Models/Task.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.example.Models;

public class Task {
public int Pk_Id;
public String Name;
public int Value;
public int MaxValue;
public int Fk_id_TypeTask;

public Task(String name, int maxValue, String Fk_id_typeTask) {
this.Name = name;
this.Value = 0;
this.MaxValue = maxValue;
this.Fk_id_TypeTask = Integer.parseUnsignedInt(Fk_id_typeTask);
}
}
11 changes: 11 additions & 0 deletions src/main/java/org/example/Models/TypeTask.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.example.Models;

public class TypeTask {
public int Pk_Id;
public String Name;

public TypeTask(String name) {

this.Name = name;
}
}