コード例 #1
0
        public virtual PhysicalInventoryLineStateRemovedDto NewPhysicalInventoryLineStateRemoved(InventoryItemId inventoryItemId)
        {
            var e   = new PhysicalInventoryLineStateRemovedDto();
            var eId = NewPhysicalInventoryLineEventId(inventoryItemId);

            e.PhysicalInventoryLineEventId = eId;
            return(e);
        }
コード例 #2
0
        public virtual PhysicalInventoryLineStateRemovedDto ToPhysicalInventoryLineStateRemovedDto(IPhysicalInventoryLineStateRemoved e)
        {
            var dto = new PhysicalInventoryLineStateRemovedDto();

            dto.PhysicalInventoryLineEventId = e.PhysicalInventoryLineEventId;
            dto.CreatedAt = e.CreatedAt;
            dto.CreatedBy = e.CreatedBy;
            dto.Version   = e.Version;
            dto.CommandId = e.CommandId;

            return(dto);
        }