/
Kam301
/
SessionApp
Обзор
Документация
Войти
/
Kam301
/
SessionApp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SessionApp1/Models/Fitting.cs
37 строк
1 KB
Kam300
fix
20 июн 2025, 07:21
20 июн 2025, 07:21
c4f2459
Код
Авторство
О чём код?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SessionApp1.Models { public class Fitting { public string Article { get; set; } = string.Empty; public int NameCode { get; set; } public int ColorCode { get; set; } public int TypeCode { get; set; } public string ImagePath { get; set; } = string.Empty; public int WidthMm { get; set; } public int HeightMm { get; set; } public string Unit { get; set; } = string.Empty; public decimal Price { get; set; } public string FittingName { get; set; } = string.Empty; public string ColorName { get; set; } = string.Empty; public string TypeName { get; set; } = string.Empty; public string CompositionName { get; set; } = string.Empty; public string LengthMm { get; set; } = string.Empty; public string DimensionUnit { get; set; } = string.Empty; public string WeightValue { get; set; } = string.Empty; public string WeightUnit { get; set; } = string.Empty; // Свойство для совместимости с существующим кодом public string Name { get { return FittingName; } set { FittingName = value; } } } }