123456789101112131415161718192021222324252627282930313233343536373839 |
- package main
- var DefaultProjectXML = `<?xml version="1.0" encoding="utf-8" ?>
- <application
- xmlns="http://qianqiusoft.com/developer"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://qianqiusoft.com/developer"
- name="{project_name}"
- desc="千秋开发平台" packagename="{project_name}">
- <controllers>
- <controller name="busniess" desc="开发平台">
- <api name="generate" desc="生成数据" method="post">
- <param name="hello" desc="配置文件" ref="$hello_bean"></param>
- <return>
- <success ref="$sys_return"></success>
- <failure ref="$sys_return"></failure>
- </return>
- </api>
- </controller>
- </controllers>
- <beans>
- <bean name="hello_bean" desc="helloworld">
- <prop name="id" type="string" caption="id"></prop>
- <prop name="name" type="string" caption="name"></prop>
- </bean>
- </beans>
- <tables>
- <table name="hello" desc="hellworld">
- <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)" type="string" size="36" />
- <column isNull="false" name="user_id" caption="用户ID" type="string" size="36" dbtype="varchar(36)"/>
- <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(50)"/>
- <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
- <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
- <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
- <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
- <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
- </table>
- </tables>
- </application>`
|