// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   AdContentForm.java

package com.keyshop.shop.channel.controller;

import com.keyshop.pub.controller.PubForm;
import com.keyshop.pub.model.PubBean;
import com.keyshop.shop.channel.model.AdContent;
import org.apache.struts.upload.FormFile;

public class AdContentForm extends PubForm
{

    public FormFile picData;
    public PubBean bean;
    public String channelId;
    public String viewType;

    public AdContentForm()
    {
        bean = new AdContent();
        channelId = "";
        viewType = "";
    }

    public void setBean(PubBean bean)
    {
        this.bean = bean;
    }

    public PubBean getBean()
    {
        return bean;
    }

    public void clear()
    {
        super.clear();
        bean = new AdContent();
        picData = null;
    }

    public FormFile getPicData()
    {
        return picData;
    }

    public void setPicData(FormFile picData)
    {
        this.picData = picData;
    }

    public String getChannelId()
    {
        return channelId;
    }

    public void setChannelId(String channelId)
    {
        this.channelId = channelId;
    }

    public String getViewType()
    {
        return viewType;
    }

    public void setViewType(String viewType)
    {
        this.viewType = viewType;
    }
}
