diff --git a/works/lab-01/Readme.md b/works/lab-01/Readme.md index 388f028..d1d4e56 100644 --- a/works/lab-01/Readme.md +++ b/works/lab-01/Readme.md @@ -1,15 +1,65 @@ # Лабораторная работа №1 -* **Студент:** [ФИО] +* **Студент:** [Жукаускайте Елизавета] * **Вариант / Карточка:** [Например: #025 Pikachu] --- - -## Ключевой код -```csharp -// Самая важная часть реализации (методы, структуры, логика) -public class Card -{ - public string Name { get; set; } - public int Hp { get; set; } +Table card { + card_id int [primary key] + card_stage text + card_name text + card_rare text + card_weight numeric + card_height numeric + card_element_type_id int + card_element_type_name text + card_number numeric + card_retreat_cost numeric + card_date_of_release date + illusrator_id text + card_set_id int [not null] } +Table artist{ + illustrator_id int + illustrator_name text + +} +Table card_set{ + card_set_name text + card_set_id int [primary key] + card_set_code text + card_set_total_cards int + card_set_release_date date + +} + +Table element_type{ + element_type_id int + element_type_name text +} + +Table attack_energy{ + attack_id int [primary key] +} + +Table card_attack{ + attack_id int + attack_name text + attack_base_damage text + attack_effect text + attack_card_id int + +} + + + + +Ref: "card"."illusrator_id" ?<>? "artist"."illustrator_id" + +Ref: "card"."card_set_id" ?> "card_set"."card_set_id" + +Ref: "card"."card_element_type_id" ?<>? "element_type"."element_type_id" + +Ref: "card_attack"."attack_id" ?>? "card"."card_id" + +Ref: "attack_energy"."attack_id" ?