Пример #1
0
        public virtual GoodIdentificationStateMergePatchedDto NewGoodIdentificationStateMergePatched(string goodIdentificationTypeId)
        {
            var e   = new GoodIdentificationStateMergePatchedDto();
            var eId = NewGoodIdentificationEventId(goodIdentificationTypeId);

            e.GoodIdentificationEventId = eId;
            return(e);
        }
        public virtual GoodIdentificationStateMergePatchedDto ToGoodIdentificationStateMergePatchedDto(IGoodIdentificationStateMergePatched e)
        {
            var dto = new GoodIdentificationStateMergePatchedDto();

            dto.GoodIdentificationEventId = e.GoodIdentificationEventId;
            dto.CreatedAt = e.CreatedAt;
            dto.CreatedBy = e.CreatedBy;
            dto.Version   = e.Version;
            dto.CommandId = e.CommandId;
            dto.IdValue   = e.IdValue;
            dto.Active    = e.Active;
            dto.IsPropertyIdValueRemoved = e.IsPropertyIdValueRemoved;
            dto.IsPropertyActiveRemoved  = e.IsPropertyActiveRemoved;

            return(dto);
        }