[fix]Config创建默认配置文件的开关Runtime.CreateConfigOnMissing,仅需对自动创建生效,而不应该阻止用户主动Save
智能大石头 authored at 2024-08-09 00:30:41 石头 committed at 2024-08-10 14:22:24
17.06 KiB
X
<style type="text/css">
<!--
.caption td {
    border:1px solid #666666;
    font-weight:bold;
    background-color: #CCCCCC;
}
.dbtable {
    border:1px solid #666666;
}
.dbbody td {
    border:1px solid #666666;
}
-->
</style>
由nnhy/X生成于:2015-02-27 15:43:24 <BR />

Administrator:
<strong>管理员 (Administrator)</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>名称 </td>
    <td>Name</td>
    <td>Name</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>登录用户名 </td>
  </tr>
  <tr class="dbbody">
    <td>密码 </td>
    <td>Password</td>
    <td>Password</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>显示名 </td>
    <td>DisplayName</td>
    <td>DisplayName</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>昵称、中文名等 </td>
  </tr>
  <tr class="dbbody">
    <td>邮件 </td>
    <td>Mail</td>
    <td>Mail</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>电话 </td>
    <td>Phone</td>
    <td>Phone</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>唯一代码 </td>
    <td>Code</td>
    <td>Code</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>比如身份证、SSOID等 </td>
  </tr>
  <tr class="dbbody">
    <td>角色 </td>
    <td>RoleID</td>
    <td>RoleID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>主要角色 </td>
  </tr>
  <tr class="dbbody">
    <td>登录次数 </td>
    <td>Logins</td>
    <td>Logins</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>最后登录 </td>
    <td>LastLogin</td>
    <td>LastLogin</td>
    <td>DateTime</td>
    <td>3</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>最后登陆IP </td>
    <td>LastLoginIP</td>
    <td>LastLoginIP</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>是否使用 </td>
    <td>IsEnable</td>
    <td>IsEnable</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>配置信息 </td>
    <td>Profile</td>
    <td>Profile</td>
    <td>String</td>
    <td>500</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>

Role:
<strong>角色 (Role)</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>名称 </td>
    <td>Name</td>
    <td>Name</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>是否系统角色 </td>
    <td>IsSystem</td>
    <td>IsSystem</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>系统角色用于业务系统开发使用,禁止删除 </td>
  </tr>
  <tr class="dbbody">
    <td>权限 </td>
    <td>Permission</td>
    <td>Permission</td>
    <td>String</td>
    <td>500</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>

Menu:
<strong>菜单 (Menu)=> EntityTree</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>名称 </td>
    <td>Name</td>
    <td>Name</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>父编号 </td>
    <td>ParentID</td>
    <td>ParentID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>链接 </td>
    <td>Url</td>
    <td>Url</td>
    <td>String</td>
    <td>200</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>序号 </td>
    <td>Sort</td>
    <td>Sort</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>备注 </td>
    <td>Remark</td>
    <td>Remark</td>
    <td>String</td>
    <td>200</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>权限 </td>
    <td>Permission</td>
    <td>Permission</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>是否显示 </td>
    <td>IsShow</td>
    <td>IsShow</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>必要的菜单 </td>
    <td>Necessary</td>
    <td>Necessary</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td>必须至少有角色拥有这些权限,如果没有则自动授权给系统角色 </td>
  </tr>
  <tr class="dbbody">
    <td>多角色 </td>
    <td>Roles</td>
    <td>Roles</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>

Log:
<strong>日志 (Log)</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>类别 </td>
    <td>Category</td>
    <td>Category</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>操作 </td>
    <td>Action</td>
    <td>Action</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>用户编号 </td>
    <td>UserID</td>
    <td>UserID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>用户名 </td>
    <td>UserName</td>
    <td>UserName</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>IP地址 </td>
    <td>IP</td>
    <td>IP</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>时间 </td>
    <td>OccurTime</td>
    <td>OccurTime</td>
    <td>DateTime</td>
    <td>3</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>详细信息 </td>
    <td>Remark</td>
    <td>Remark</td>
    <td>String</td>
    <td>500</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>

User:
<strong>用户 (User)</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>账号 </td>
    <td>Account</td>
    <td>Account</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>密码 </td>
    <td>Password</td>
    <td>Password</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>是否管理员 </td>
    <td>IsAdmin</td>
    <td>IsAdmin</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>是否启用 </td>
    <td>IsEnable</td>
    <td>IsEnable</td>
    <td>Boolean</td>
    <td>1</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>

Department:
<strong>部门 (Department)=> EntityTree</strong> <BR>
<table border="0" cellspacing="0" class="dbtable">
  <tr align="center" valign="middle" class="caption">
    <td width="150">中文名</td>
    <td width="150">英文名</td>
    <td width="150">字段名</td>
    <td width="75">数据类型</td>
    <td width="50">大小</td>
    <td width="35">主键</td>
    <td width="35">唯一</td>
    <td width="35">必填</td>
    <td width="75">默认值</td>
    <td width="150">描述</td>
  </tr>
  <tr class="dbbody">
    <td>编号 </td>
    <td>ID</td>
    <td>ID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td align="center">是</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>名称 </td>
    <td>Name</td>
    <td>Name</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>代码 </td>
    <td>Code</td>
    <td>Code</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>父编号 </td>
    <td>ParentID</td>
    <td>ParentID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>排序 </td>
    <td>Sort</td>
    <td>Sort</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>管理者编号 </td>
    <td>ManagerID</td>
    <td>ManagerID</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>管理者 </td>
    <td>Manager</td>
    <td>Manager</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>等级 </td>
    <td>Level</td>
    <td>Level</td>
    <td>Int32</td>
    <td>10</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>等级名称 </td>
    <td>LevelName</td>
    <td>LevelName</td>
    <td>String</td>
    <td>50</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
  <tr class="dbbody">
    <td>配置文件 </td>
    <td>Profile</td>
    <td>Profile</td>
    <td>String</td>
    <td>500</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td> </td>
    <td> </td>
  </tr>
</table>