All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.org.docshare.demo.Book Maven / Gradle / Ivy

Go to download

YangMVC is an efficient, fast, convenient, easy to learn, easy to use MVC framework and ORM framework. Use yangmvc-boot is something like spring-boot . Call ServerMain.main(args); in your main method can start a server.

There is a newer version: 2023.06.19
Show newest version
package cn.org.docshare.demo;

import org.docshare.mvc.IBean;
/**
 * @author Tongfeng yang
 *
 */
public class Book implements IBean{
	public String name;
	public double price;
//	public String getName(){return name;}
//	public void setName(String name){
//		this.name = name;
//	}
	public Book next;
	public static Book createSimple(){
		Book b = new Book();
		b.name = "Hello Master Yang";
		b.price = 1000;
		b.next = null;
		return b;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy