using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Domain.Values; using Win.Sfs.Shared.Enums; namespace Win.Sfs.Shared.DomainBase { public class StockMove : ValueObject { /// /// 箱码 /// [Display(Name = "箱码")] public string InventoryCode { get; set; } /// /// 批次 /// [Display(Name = "批次")] public string Lot { get; set; } /// /// 流水号 /// [Display(Name = "流水号")] public string Serial { get; set; } /// /// 库存状态 /// [Display(Name = "库存状态")] public EnumInventoryStatus InventoryStatus { get; set; } /// /// 库存位置 /// public Location Location { get; set; } protected override IEnumerable GetAtomicValues() { yield return InventoryCode; yield return Lot; yield return Serial; yield return InventoryStatus; yield return Location; } } }