| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- using CommunityToolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Controls;
- namespace ivf_tl_Entity.Entity.Mark
- {
- public class MarkEntity : ObservableObject
- {
- public long id { get; set; }
- private int _child;
- public int child { get => _child; set => SetProperty(ref _child, value); }
- private int _defaultValue;
- public int defaultValue { get => _defaultValue; set => SetProperty(ref _defaultValue, value); }
- private string _markKey;
- public string markKey { get => _markKey; set => SetProperty(ref _markKey, value); }
- private int _maxTime;
- public int maxTime { get => _maxTime; set => SetProperty(ref _maxTime, value); }
- private string _minTimeString;
- public string minTimeString { get => _minTimeString; set => SetProperty(ref _minTimeString, value); }
- private long _model;
- public long model { get => _model; set => SetProperty(ref _model, 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 long _parentId;
- public long parentId { get => _parentId; set => SetProperty(ref _parentId, value); }
- private int _state;
- public int state { get => _state; set => SetProperty(ref _state, value); }
- private int _unit;
- public int unit { get => _unit; set => SetProperty(ref _unit, value); }
- private int _visable;
- public int visable { get => _visable; set => SetProperty(ref _visable, value); }
- private decimal _weight;
- public decimal weight { get => _weight; set => SetProperty(ref _weight, value); }
- private int _keyNode;
- public int keyNode { get => _keyNode; set => SetProperty(ref _keyNode, value); }
- private int _level;
- public int level { get => _level; set => SetProperty(ref _level, value); }
- public int pictureLayer { get; set; }
- private ObservableCollection<MarkEntity> _children = new ObservableCollection<MarkEntity>();
- public ObservableCollection<MarkEntity> children { get => _children; set => SetProperty(ref _children, value); }
- public Grid ChildrenGrid { get; set; }
- public Grid ParentGrid { get; set; }
- public Image FoldImage { get; set; }
- public MarkEntity CurrentValue { get; set; }
- public MarkEntity ParentMark { get; set; }
- public bool IsExpanded { get; set; } = false;
- }
- }
|