2024-09-15 03:28:24 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using CustomComponents.Helpers;
|
|
|
|
|
|
|
|
|
|
namespace WinFormForTest.TestClasses
|
|
|
|
|
{
|
|
|
|
|
public class Plant
|
|
|
|
|
{
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
2024-09-15 15:51:00 +04:00
|
|
|
|
[AlwaysCreate]
|
2024-09-15 03:28:24 +04:00
|
|
|
|
public string Color { get; set; }
|
|
|
|
|
public Plant(string type, string name, string color)
|
|
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
Name = name;
|
|
|
|
|
Color = color;
|
|
|
|
|
}
|
|
|
|
|
public Plant() { }
|
|
|
|
|
}
|
|
|
|
|
}
|