using System; using System.Collections.Generic; 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 UpstreamDocument : ValueObject { /// /// 上游单据ID /// public Guid UpstreamDocumentId { get; set; } /// /// 上游单据Number /// public string UpstreamDocumentNumber { get; set; } /// /// 上游单据类型 /// public EnumDocumentType UpstreamDocumentType { get; set; } /// /// 排序序号 /// public int Seq { get; set; } protected override IEnumerable GetAtomicValues() { yield return UpstreamDocumentId; yield return UpstreamDocumentNumber; yield return UpstreamDocumentType; yield return Seq; } } }