/FileExtraction/Java_unseen/mihailsuntsov_dokiocrm_server/src/main/java/com/dokio/message/request/CustomersOrdersProductTableForm.java
/*
        Dokio CRM - server part. Sales, finance and warehouse management system
        Copyright (C) Mikhail Suntsov /mihail.suntsov@gmail.com/

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU Affero General Public License as
        published by the Free Software Foundation, either version 3 of the
        License, or (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Affero General Public License for more details.

        You should have received a copy of the GNU Affero General Public License
        along with this program.  If not, see <https://www.gnu.org/licenses/>
*/

package com.dokio.message.request;

import java.math.BigDecimal;

    public class CustomersOrdersProductTableForm {

        private Long id;                                // id в таблице товаров customers_orders_product
        private BigDecimal available;                   // кол-во доступно (на момент формирования документа) (высчитывается не сохраняется)
        private Long customers_orders_id;               // id родиельского документа
        private Long department_id;                     // id отделения (склада) отгрузки
        private Long edizm_id;                          // id единицы измерения
        private Long nds_id;                            // id ндс
        private Long price_type_id;                     // id типа цены
        private BigDecimal product_count;               // кол-во товара
        private Long product_id;                        // id товара
        private BigDecimal product_price;               // цена продажи
        private BigDecimal product_price_of_type_price; // цена по типу цены на момент составления документа
        private BigDecimal product_sumprice;            // сумма (цена*кол-во)
        private BigDecimal shipped;                     // отгружено (высчитывается, не сохраняется)
        private BigDecimal reserved_current;            // сколько зарезервировано в данном документе

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public BigDecimal getAvailable() {
            return available;
        }

        public void setAvailable(BigDecimal available) {
            this.available = available;
        }

        public Long getCustomers_orders_id() {
            return customers_orders_id;
        }

        public void setCustomers_orders_id(Long customers_orders_id) {
            this.customers_orders_id = customers_orders_id;
        }

        public Long getDepartment_id() {
            return department_id;
        }

        public void setDepartment_id(Long department_id) {
            this.department_id = department_id;
        }

        public BigDecimal getReserved_current() {
            return reserved_current;
        }

        public void setReserved_current(BigDecimal reserved_current) {
            this.reserved_current = reserved_current;
        }

        public Long getEdizm_id() {
            return edizm_id;
        }

        public void setEdizm_id(Long edizm_id) {
            this.edizm_id = edizm_id;
        }

        public Long getNds_id() {
            return nds_id;
        }

        public void setNds_id(Long nds_id) {
            this.nds_id = nds_id;
        }

        public Long getPrice_type_id() {
            return price_type_id;
        }

        public void setPrice_type_id(Long price_type_id) {
            this.price_type_id = price_type_id;
        }

        public BigDecimal getProduct_count() {
            return product_count;
        }

        public void setProduct_count(BigDecimal product_count) {
            this.product_count = product_count;
        }

        public Long getProduct_id() {
            return product_id;
        }

        public void setProduct_id(Long product_id) {
            this.product_id = product_id;
        }

        public BigDecimal getProduct_price() {
            return product_price;
        }

        public void setProduct_price(BigDecimal product_price) {
            this.product_price = product_price;
        }

        public BigDecimal getProduct_price_of_type_price() {
            return product_price_of_type_price;
        }

        public void setProduct_price_of_type_price(BigDecimal product_price_of_type_price) {
            this.product_price_of_type_price = product_price_of_type_price;
        }

        public BigDecimal getProduct_sumprice() {
            return product_sumprice;
        }

        public void setProduct_sumprice(BigDecimal product_sumprice) {
            this.product_sumprice = product_sumprice;
        }

        public BigDecimal getShipped() {
            return shipped;
        }

        public void setShipped(BigDecimal shipped) {
            this.shipped = shipped;
        }
    }
