| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using CommunityToolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ivf_tl_Entity.Entity.Mark
- {
- public class MarkWeight : ObservableObject
- {
- public long id { get; set; }
- public long parentId { get; set; } = -1;
- private string _info;
- public string info { get => _info; set => SetProperty(ref _info, value); }
- private string _markKey;
- public string markKey { get => _markKey; set => SetProperty(ref _markKey, value); }
- private string _name;
- public string name { get => _name; set => SetProperty(ref _name, value); }
- private int _orderNum;
- public int orderNum { get => _orderNum; set => SetProperty(ref _orderNum, value); }
- private decimal _weight;
- public decimal weight { get => _weight; set => SetProperty(ref _weight, value); }
- private ObservableCollection<MarkWeight> _children = new ObservableCollection<MarkWeight>();
- public ObservableCollection<MarkWeight> children { get => _children; set => SetProperty(ref _children, value); }
- public bool IsExpanded { get; set; } = false;
- public System.Windows.Media.Brush RectangleFill { get; set; }
- private MarkWeight _ParentMarkWeight = null;
- public MarkWeight ParentMarkWeight
- {
- get { return _ParentMarkWeight; }
- set => SetProperty(ref _ParentMarkWeight, value);
- }
- }
- public class MarkWeightNoParent
- {
- public long id { get; set; }
- public string info { get; set; }
- public string markKey { get; set; }
- public string name { get; set; }
- public int orderNum { get; set; }
- public decimal weight { get; set; }
- }
- }
|