package selling.sunshine.form.gift;

import javax.validation.constraints.NotNull;

/**
 * Created by sunshine on 8/4/16.
 */
public class ApplyForm {
    @NotNull
    private String goodsId;

    @NotNull
    private int lastQuantity;

    @NotNull
    private int totalQuantity;

    @NotNull
    private int potential;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getLastQuantity() {
        return lastQuantity;
    }

    public void setLastQuantity(int lastQuantity) {
        this.lastQuantity = lastQuantity;
    }

    public int getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(int totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public int getPotential() {
        return potential;
    }

    public void setPotential(int potential) {
        this.potential = potential;
    }
}

@@ -315,16 +315,57 @@
 ntial;%0A%0A
+    @NotNull%0A    private int applyLine;%0A%0A
     publ
@@ -1006,11 +1006,165 @@
 l;%0A    %7D
+%0A%0A    public int getApplyLine() %7B%0A        return applyLine;%0A    %7D%0A%0A    public void setApplyLine(int applyLine) %7B%0A        this.applyLine = applyLine;%0A    %7D
 %0A%7D%0A

add column in apply form