zoukankan      html  css  js  c++  java
  • Java高级架构师(一)第21节:通过X-gen生成商品模块

    package com.sishuok.architecture1.goodsmgr.vo;
    
    
    
    import com.sishuok.architecture1.common.vo.BaseModel;
    
    
    
    public class GoodsModel extends BaseModel{
    
    	private String name;
    	private String imgPath;
    	private String description;
    	
    
    	public void setName(String obj){
    		this.name = obj;
    	}
    	public String getName(){
    		return this.name;
    	}
    	
    	public void setImgPath(String obj){
    		this.imgPath = obj;
    	}
    	public String getImgPath(){
    		return this.imgPath;
    	}
    	
    	public void setDescription(String obj){
    		this.description = obj;
    	}
    	public String getDescription(){
    		return this.description;
    	}
    	
    	
    
    	
    
    	public String toString(){
    
    		return "Model"+this.getClass().getName()+"[name=" + this.getName() + ",imgPath=" + this.getImgPath() + ",description=" + this.getDescription() + ",]";
    
    	}	
    
    }
    

      

  • 相关阅读:
    Kakuro Extension HDU
    CodeForces
    HDU
    2019牛客暑期多校训练营(第二场)F.Partition problem
    UVA
    团队冲刺6
    团队冲刺4
    团队冲刺3
    团队冲刺2
    团队冲刺1
  • 原文地址:https://www.cnblogs.com/sunrunzhi/p/10119570.html
Copyright © 2011-2022 走看看