LineItemIntegrationProperties.java

package com.tradecloud.domain.configuration.orderintegration;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

@Entity
@Table(name = "lineitemintegrationproperties")
@Access(AccessType.FIELD)
@DiscriminatorValue("LineItem")
public class LineItemIntegrationProperties extends AbstractItemIntegrationProperties {

    private static final long serialVersionUID = 1L;

    @NotNull
    private boolean freeStockType;

    public LineItemIntegrationProperties() {
        super();
    }

    public boolean isFreeStockType() {
        return freeStockType;
    }

    public void setFreeStockType(boolean freeStockType) {
        this.freeStockType = freeStockType;
    }
}