コード例 #1
0
        public TransportEntity(double speed, DeliveryTypeEntity type)
        {
            Speed = speed;

            DeliveryType = type;

            InTheShop = true;
        }
コード例 #2
0
        public ProductEntity(string name, double weight, double volume, double price, double timeForPreparation, DeliveryTypeEntity type)
        {
            Name = name;

            Weight = weight;

            Volume = volume;

            Price = price;

            TimeForPreparation = timeForPreparation;

            DeliveryType = type;
        }