<commit_before>/*******************************************************************************
  * Copyright (C) 2020 AgGateway and ADAPT Contributors
  * Copyright (C) 2020 Syngenta
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html <http://www.eclipse.org/legal/epl-v10.html> 
  *
  * Contributors:
  *    <NAME> - initial implementation based on ProductStatusEnum class.
  *  *******************************************************************************/

using System.Collections.Generic;
using AgGateway.ADAPT.ApplicationDataModel.Common;
using AgGateway.ADAPT.ApplicationDataModel.Representations;

namespace AgGateway.ADAPT.ApplicationDataModel.Products
{
    public class PackagedProduct
    {

        public PackagedProduct()
        {
            Id = CompoundIdentifierFactory.Instance.Create();
            ContainedPackagedProducts = new List(ContainedPackageProduct);
            ContextItems = new List<ContextItem>();
        }

        public CompoundIdentifier Id { get; private set; }

        public string Description { get; set; }

        public int ProductId { get; set; }

        public int ContainerModelId { get; set; }

        public PackagedProductStatusEnum Status { get; set; }
        
        public NumericRepresentationValue ProductQuantity { get; set; }

        public List<ContainedPackagedProduct> ContainedPackagedProducts { get; set; }

        public NumericRepresentationValue GrossWeight { get; set; }

        public NumericRepresentationValue NetWeight { get; set; }

        public List<ContextItem> ContextItems { get; set; } 

    }
}
<commit_msg>Update PackagedProduct.cs<commit_after>/*******************************************************************************
  * Copyright (C) 2020 AgGateway and ADAPT Contributors
  * Copyright (C) 2020 Syngenta
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html <http://www.eclipse.org/legal/epl-v10.html> 
  *
  * Contributors:
  *    <NAME> - initial implementation based on ProductStatusEnum class.
  *  *******************************************************************************/

using System.Collections.Generic;
using AgGateway.ADAPT.ApplicationDataModel.Common;
using AgGateway.ADAPT.ApplicationDataModel.Representations;

namespace AgGateway.ADAPT.ApplicationDataModel.Products
{
    public class PackagedProduct
    {

        public PackagedProduct()
        {
            Id = CompoundIdentifierFactory.Instance.Create();
            ContainedPackagedProducts = new List(ContainedPackagedProduct);
            ContextItems = new List<ContextItem>();
        }

        public CompoundIdentifier Id { get; private set; }

        public string Description { get; set; }

        public int ProductId { get; set; }

        public int ContainerModelId { get; set; }

        public PackagedProductStatusEnum Status { get; set; }
        
        public NumericRepresentationValue ProductQuantity { get; set; }

        public List<ContainedPackagedProduct> ContainedPackagedProducts { get; set; }

        public NumericRepresentationValue GrossWeight { get; set; }

        public NumericRepresentationValue NetWeight { get; set; }

        public List<ContextItem> ContextItems { get; set; } 

    }
}

{'fraction_non_alphanumeric': 0.15477792732166892, 'fraction_numerical': 0.007537012113055182, 'mean_word_length': 3.1243063263041067, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '919443', 'n_tokens_mistral': 991, 'n_tokens_neox': 885, 'n_words': 247}