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

com.haoxuer.discover.area.App Maven / Gradle / Ivy

package com.haoxuer.discover.area;

import com.haoxuer.discover.area.data.entity.BusinessCircle;
import com.haoxuer.imake.ChainMake;
import com.haoxuer.imake.template.hibernate.TemplateHibernateDir;
import com.haoxuer.imake.templates.adminlte.TemplateAdminLTE;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * Hello world!
 */
public class App {
  public static void main(String[] args) {
    ChainMake make = new ChainMake(TemplateAdminLTE.class, TemplateHibernateDir.class);
    make.setAction("com.quhaodian.area.controller.admin");
    File view = new File("E:\\workspace\\iowl\\iowl_web\\src\\main\\webapp\\WEB-INF\\ftl\\admin");
    make.setView(view);
    
    List> cs = new ArrayList>();
    cs.add(BusinessCircle.class);
    
    make.setDao(true);
    make.setService(true);
    make.setView(false);
    make.setAction(true);
    make.setMenus("1,25,66");
    make.makes(cs);
    System.out.println("ok");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy