Exemplo n.º 1
0
        public virtual PicklistItemStateMergePatchedDto NewPicklistItemStateMergePatched(PicklistItemOrderShipGrpInvId picklistItemOrderShipGrpInvId)
        {
            var e   = new PicklistItemStateMergePatchedDto();
            var eId = NewPicklistItemEventId(picklistItemOrderShipGrpInvId);

            e.PicklistItemEventId = eId;
            return(e);
        }
        public virtual PicklistItemStateMergePatchedDto ToPicklistItemStateMergePatchedDto(IPicklistItemStateMergePatched e)
        {
            var dto = new PicklistItemStateMergePatchedDto();

            dto.PicklistItemEventId = e.PicklistItemEventId;
            dto.CreatedAt           = e.CreatedAt;
            dto.CreatedBy           = e.CreatedBy;
            dto.Version             = e.Version;
            dto.CommandId           = e.CommandId;
            dto.ItemStatusId        = e.ItemStatusId;
            dto.Quantity            = e.Quantity;
            dto.Active = e.Active;
            dto.IsPropertyItemStatusIdRemoved = e.IsPropertyItemStatusIdRemoved;
            dto.IsPropertyQuantityRemoved     = e.IsPropertyQuantityRemoved;
            dto.IsPropertyActiveRemoved       = e.IsPropertyActiveRemoved;

            return(dto);
        }