SSPOnlineModel.java 2.55 KB
package com.huaheng.api.SSP.domain;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class SSPOnlineModel {
    private String	cubeCode;
    private String	cubeName;
    private String  cubeType;
    private int  cubeMode;
    private int  cubeEnable;
    private String cubeURL;
    private String cDatetime;
    private String	warehouseCode;
    private int locationMax;

    public int getLocationMax() {
        return locationMax;
    }

    public void setLocationMax(int locationMax) {
        this.locationMax = locationMax;
    }

    public String getCubeCode() {
        return cubeCode;
    }

    public void setCubeCode(String cubeCode) {
        this.cubeCode = cubeCode;
    }

    public String getCubeName() {
        return cubeName;
    }

    public void setCubeName(String cubeName) {
        this.cubeName = cubeName;
    }

    public String getCubeType() {
        return cubeType;
    }

    public void setCubeType(String cubeType) {
        this.cubeType = cubeType;
    }

    public int getCubeMode() {
        return cubeMode;
    }

    public void setCubeMode(int cubeMode) {
        this.cubeMode = cubeMode;
    }

    public int getCubeEnable() {
        return cubeEnable;
    }

    public void setCubeEnable(int cubeEnable) {
        this.cubeEnable = cubeEnable;
    }

    public String getCubeURL() {
        return cubeURL;
    }

    public void setCubeURL(String cubeURL) {
        this.cubeURL = cubeURL;
    }

    public String getcDatetime() {
        return cDatetime;
    }

    public void setcDatetime(String cDatetime) {
        this.cDatetime = cDatetime;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    @Override
    public String toString() {
        return "SSPOnlineModel{" +
                "cubeCode='" + cubeCode + '\'' +
                ", cubeName='" + cubeName + '\'' +
                ", cubeType='" + cubeType + '\'' +
                ", cubeMode=" + cubeMode +
                ", cubeEnable=" + cubeEnable +
                ", cubeURL='" + cubeURL + '\'' +
                ", cDatetime='" + cDatetime + '\'' +
                ", warehouseCode='" + warehouseCode + '\'' +
                ", locationMax=" + locationMax +
                '}';
    }

    public static void main(String args[]){
        SSPOnlineModel md = new SSPOnlineModel();
        System.out.println(JSON.toJSONString(md, SerializerFeature.WriteNullStringAsEmpty));
    }
}