public virtual AttributeUseMvoStateCreatedDto ToAttributeUseMvoStateCreatedDto(IAttributeUseMvoStateCreated e)
        {
            var dto = new AttributeUseMvoStateCreatedDto();

            dto.AttributeUseMvoEventId = e.AttributeUseMvoEventId;
            dto.CreatedAt      = e.CreatedAt;
            dto.CreatedBy      = e.CreatedBy;
            dto.CommandId      = e.CommandId;
            dto.SequenceNumber = e.SequenceNumber;
            dto.Version        = e.Version;
            dto.Active         = e.Active;
            dto.AttributeSetAttributeSetName       = e.AttributeSetAttributeSetName;
            dto.AttributeSetOrganizationId         = e.AttributeSetOrganizationId;
            dto.AttributeSetDescription            = e.AttributeSetDescription;
            dto.AttributeSetReferenceId            = e.AttributeSetReferenceId;
            dto.AttributeSetIsInstanceAttributeSet = e.AttributeSetIsInstanceAttributeSet;
            dto.AttributeSetIsMandatory            = e.AttributeSetIsMandatory;
            dto.AttributeSetCreatedBy = e.AttributeSetCreatedBy;
            dto.AttributeSetCreatedAt = e.AttributeSetCreatedAt;
            dto.AttributeSetUpdatedBy = e.AttributeSetUpdatedBy;
            dto.AttributeSetUpdatedAt = e.AttributeSetUpdatedAt;
            dto.AttributeSetActive    = e.AttributeSetActive;
            dto.AttributeSetDeleted   = e.AttributeSetDeleted;
            return(dto);
        }
예제 #2
0
        public virtual AttributeUseMvoStateCreatedDto ToAttributeUseMvoStateCreatedDto(IAttributeUseMvoStateCreated e)
        {
            var dto = new AttributeUseMvoStateCreatedDto();

            dto.StateEventId                        = new AttributeUseMvoStateEventIdDtoWrapper(e.StateEventId);
            dto.CreatedAt                           = e.CreatedAt;
            dto.CreatedBy                           = e.CreatedBy;
            dto.CommandId                           = e.CommandId;
            dto.SequenceNumber                      = e.SequenceNumber;
            dto.Version                             = e.Version;
            dto.Active                              = e.Active;
            dto.AttributeSetName                    = e.AttributeSetName;
            dto.AttributeSetOrganizationId          = e.AttributeSetOrganizationId;
            dto.AttributeSetDescription             = e.AttributeSetDescription;
            dto.AttributeSetSerialNumberAttributeId = e.AttributeSetSerialNumberAttributeId;
            dto.AttributeSetLotAttributeId          = e.AttributeSetLotAttributeId;
            dto.AttributeSetReferenceId             = e.AttributeSetReferenceId;
            dto.AttributeSetCreatedBy               = e.AttributeSetCreatedBy;
            dto.AttributeSetCreatedAt               = e.AttributeSetCreatedAt;
            dto.AttributeSetUpdatedBy               = e.AttributeSetUpdatedBy;
            dto.AttributeSetUpdatedAt               = e.AttributeSetUpdatedAt;
            dto.AttributeSetActive                  = e.AttributeSetActive;
            dto.AttributeSetDeleted                 = e.AttributeSetDeleted;
            return(dto);
        }