using Microsoft.Toolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmart.Model { public class Order : ObservableObject { /// /// 订单ID /// public string OrderId { get { return _orderId; } set { _orderId = value; OnPropertyChanged(); } } private string _orderId; /// /// 下单时间 /// public string OrderdateTime { get { return _orderDateTime; } set { _orderDateTime = value; OnPropertyChanged(); } } private string _orderDateTime; /// /// 订单完成时间 /// public string OrderCompeleteTime { get { return _orderCompeleteTime; } set { _orderCompeleteTime = value; OnPropertyChanged(); } } private string _orderCompeleteTime; /// /// 配方集合 /// public ObservableCollection Recipes { get; set; } = new ObservableCollection(); } }