SmallTypeForm.java
Upload User: toby828
Upload Date: 2015-06-26
Package Size: 8558k
Code Size: 1k
Category:

Jsp/Servlet

Development Platform:

Java

  1. package com.domain;
  2. import org.apache.struts.action.ActionForm;
  3. import org.apache.struts.action.ActionErrors;
  4. import org.apache.struts.action.ActionMapping;
  5. import javax.servlet.http.HttpServletRequest;
  6. //商品小类别bean
  7. public class SmallTypeForm
  8.     extends ActionForm {
  9.   private Integer bigId=Integer.valueOf("-1");//商品大类别表的外键
  10.   private String creaTime="";//创建时间
  11.   private Integer id=Integer.valueOf("-1");//数据库流水号
  12.   private String smallName="";//商品小类别信息
  13.   public Integer getBigId() {
  14.     return bigId;
  15.   }
  16.   public void setBigId(Integer bigId) {
  17.     this.bigId = bigId;
  18.   }
  19.   public void setSmallName(String smallName) {
  20.     this.smallName = smallName;
  21.   }
  22.   public void setId(Integer id) {
  23.     this.id = id;
  24.   }
  25.   public void setCreaTime(String creaTime) {
  26.     this.creaTime = creaTime;
  27.   }
  28.   public String getCreaTime() {
  29.     return creaTime;
  30.   }
  31.   public Integer getId() {
  32.     return id;
  33.   }
  34.   public String getSmallName() {
  35.     return smallName;
  36.   }
  37.   public ActionErrors validate(ActionMapping actionMapping,
  38.                                HttpServletRequest httpServletRequest) {
  39.       /** @todo: finish this method, this is just the skeleton.*/
  40.     return null;
  41.   }
  42.   public void reset(ActionMapping actionMapping,
  43.                     HttpServletRequest servletRequest) {
  44.   }
  45. }