using Kean.Infrastructure.Configuration; using System; using System.Collections.Generic; namespace Kean.Application.Command.ViewModels { /// /// 订单视图 /// public sealed class Order { /// /// 标识 /// public int Id { get; set; } /// /// 类型 /// public int Type { get; set; } /// /// 工作流 /// public int Flow { get; set; } /// /// 节点 /// public int Node { get; set; } /// /// 状态 /// public string State { get; set; } /// /// 单号 /// public string No { get; set; } /// /// 制单人 /// public string Creater { get; set; } /// /// 制单时间 /// public DateTime? CreateTime { get; set; } /// /// 订单行 /// public IEnumerable Lines { get; set; } /// /// 订单行视图 /// public sealed class Line : MaterialProperty { /// /// 标识 /// public int Id { get; set; } /// /// 物资 /// public int Material { get; set; } /// /// 数量 /// public decimal Quantity { get; set; } /// /// 执行数量 /// public decimal Executing { get; set; } /// /// 完成数量 /// public decimal Finished { get; set; } /// /// 库存行关联 /// public int? Stock { get; set; } } } }