From 062dbc8a0cf951f99f341336aeb642e76c0f9656 Mon Sep 17 00:00:00 2001 From: Nikita Date: Sat, 22 Feb 2025 22:57:59 +0400 Subject: [PATCH] private speed and weight --- ProjectCatamaran/ProjectCatamaran/Entities/EntityBoat.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectCatamaran/ProjectCatamaran/Entities/EntityBoat.cs b/ProjectCatamaran/ProjectCatamaran/Entities/EntityBoat.cs index ce7a393..0c5d341 100644 --- a/ProjectCatamaran/ProjectCatamaran/Entities/EntityBoat.cs +++ b/ProjectCatamaran/ProjectCatamaran/Entities/EntityBoat.cs @@ -14,11 +14,11 @@ public class EntityBoat /// /// Скорость /// - public int Speed { get; set; } + public int Speed { get; private set; } /// /// Вес авто /// - public double Weight { get; set; } + public double Weight { get; private set; } /// /// Основной цвет ///