{"Message":"1. 增加工时相关展示页面\r\n2. 增加工时新增逻辑","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/客户表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/客户部门表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/项目表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/任务表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/任务版本","ExclusiveType":0},{"State":4,"Type":7,"Name":"Table/任务类型","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/任务状态","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/任务分组","ExclusiveType":0},{"State":4,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目首页"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务首页"},{"State":1,"Type":1,"Name":"PCPage/任务-基本信息"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/任务-侧栏"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":25,"Name":"DataContectionSet"},{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":22,"Name":"Tables/字典表"},{"State":3,"Type":7,"Name":"Table/工时核定方式","ExclusiveType":0},{"State":3,"Type":6,"Name":"Pages/共用"},{"State":3,"Type":1,"Name":"PCPage/MD编辑器"},{"State":3,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":3,"Type":1,"Name":"PCPage/任务-关联资源"},{"State":3,"Type":1,"Name":"PCPage/任务-工时"},{"State":3,"Type":1,"Name":"PCPage/任务-进展"},{"State":3,"Type":7,"Name":"Table/任务进展","ExclusiveType":0},{"State":3,"Type":7,"Name":"Table/项目进展状态表","ExclusiveType":0},{"State":3,"Type":1,"Name":"PCPage/新增进展"},{"State":3,"Type":23,"Name":"TableView/子任务视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":3,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":3,"Type":22,"Name":"Tables/用户"},{"State":3,"Type":22,"Name":"Tables/工时"},{"State":3,"Type":7,"Name":"Table/任务工时表","ExclusiveType":0},{"State":3,"Type":1,"Name":"PCPage/工时详情"},{"State":3,"Type":1,"Name":"PCPage/工时详情-列头"},{"State":3,"Type":31,"Name":"UserControlPage/工时记录列表"},{"State":3,"Type":23,"Name":"TableView/View_任务工时统计"},{"State":3,"Type":38,"Name":"Image/更多.svg"},{"State":3,"Type":6,"Name":"Pages/任务/工时"},{"State":3,"Type":1,"Name":"PCPage/新增报工"},{"State":3,"Type":20,"Name":"ServerCommands/工时"},{"State":3,"Type":15,"Name":"ServerCommand/新增报工"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-03-01 17:36:17 +08:00
parent 586a9e14e0
commit 2e0f9f8656
59 changed files with 8370 additions and 945 deletions

View File

@@ -6,14 +6,15 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "任务类型",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -38,6 +39,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务类型",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -0,0 +1,53 @@
{
"Name": "工时核定方式",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "核定方式",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_Creator"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_CreateDate"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifier"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "工时核定方式",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],
"Indexes": [],
"Relations": []
}

View File

@@ -0,0 +1,60 @@
{
"Name": "项目进展状态表",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "进展名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_Creator"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_CreateDate"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifier"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "项目进展状态表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],
"Indexes": [],
"Relations": []
}

View File

@@ -6,32 +6,36 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "客户名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "客户税号",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "地址",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "邮箱",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -56,6 +60,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "客户表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -6,38 +6,43 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "客户ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "部门名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "联系人",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "邮箱",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "客户经理",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -62,6 +67,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "客户部门表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -0,0 +1,96 @@
{
"Name": "View_任务工时统计",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "执行人",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "datetime",
"MaxLength": -1,
"Name": "工时日期",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "float",
"MaxLength": -1,
"Name": "计划工时",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "float",
"MaxLength": -1,
"Name": "实际工时",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"ExternalDatabaseInfo": {
"ConnectionId": "业务表",
"SourceTableName": "View_任务工时统计",
"SourceTableSchema": "dbo",
"CreateViewSql": "SELECT \r\n [项目ID],\r\n [任务ID],\r\n [执行人],\r\n [工时日期],\r\n SUM(CASE WHEN [工时类型] = '计划' THEN [工时] ELSE 0 END) AS [计划工时],\r\n SUM(CASE WHEN [工时类型] = '实际' THEN [工时] ELSE 0 END) AS [实际工时]\r\nFROM \r\n [dbo].[任务工时表]\r\nGROUP BY \r\n [项目ID],\r\n [任务ID],\r\n [执行人],\r\n [工时日期];",
"ViewInfo": {
"ViewName": "View_任务工时统计",
"IsUpdatable": true,
"QueryColumns": [
"项目ID"
]
}
},
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "任务表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "View_任务工时统计",
"ForeignColumn": "任务ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "项目表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "View_任务工时统计",
"ForeignColumn": "项目ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "用户信息视图",
"PrimaryColumn": "用户名",
"ForeignSchema": null,
"ForeignTable": "View_任务工时统计",
"ForeignColumn": "执行人",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
}
]
}

View File

@@ -0,0 +1,125 @@
{
"Name": "任务工时表",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "datetime",
"MaxLength": -1,
"Name": "工时日期",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "工时类型",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserBindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "执行人",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "执行内容",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "float",
"MaxLength": -1,
"Name": "工时",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_Creator"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_CreateDate"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifier"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifyDate"
},
{
"$type": "Forguncy.Model.Tables.StatisticColumn, ServerDesignerCommon",
"AggregateFunction": 4,
"DataColumnName": "工时",
"Name": "总计划工时",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务工时表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "项目表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "任务工时表",
"ForeignColumn": "项目ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "任务工时表",
"ForeignColumn": "任务ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
}
]
}

View File

@@ -0,0 +1,72 @@
{
"Name": "用户信息视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "用户名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "全名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "邮件",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "有效",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "角色",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织上级",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "头像",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "负荷",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "用户信息视图",
"SourceTableName": "FGC_UserInfoTable",
"CreateViewSql": "SELECT [FGC_UserName] AS [用户名], [FGC_FullName] AS [全名], [FGC_Email] AS [邮件], [FGC_IsEnabled] AS [有效], [FGC_Role] AS [角色], [FGC_OrganizationSuperior] AS [组织上级], [头像] AS [头像], [负荷] AS [负荷] FROM [FGC_UserInfoTable]",
"ViewType": 1
},
"PrimaryKey": [
"用户名"
],
"Indexes": [],
"Relations": []
}

View File

@@ -0,0 +1,75 @@
{
"Name": "用户组织关系视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "组织Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "用户名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "是否主管",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织角色Id集合",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织角色名称集合",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "用户组织关系视图",
"SourceTableName": "FGC_UMV_OUR",
"CreateViewSql": "SELECT [组织Id] AS [组织Id], [用户名] AS [用户名], [是否主管] AS [是否主管], [组织角色Id集合] AS [组织角色Id集合], [组织角色名称集合] AS [组织角色名称集合] FROM [FGC_UMV_OUR]",
"ViewType": 10
},
"PrimaryKey": [
"组织Id",
"用户名"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "用户信息视图",
"PrimaryColumn": "用户名",
"ForeignSchema": null,
"ForeignTable": "用户组织关系视图",
"ForeignColumn": "用户名",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
},
{
"PrimarySchema": null,
"PrimaryTable": "组织信息视图",
"PrimaryColumn": "组织Id",
"ForeignSchema": null,
"ForeignTable": "用户组织关系视图",
"ForeignColumn": "组织Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -0,0 +1,61 @@
{
"Name": "用户角色关系视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "角色Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "用户名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "来自组织",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "用户角色关系视图",
"SourceTableName": "FGC_UMV_RUR",
"CreateViewSql": "SELECT [角色Id] AS [角色Id], [用户名] AS [用户名], [来自组织] AS [来自组织] FROM [FGC_UMV_RUR]",
"ViewType": 6
},
"PrimaryKey": [
"角色Id",
"用户名"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "角色信息视图",
"PrimaryColumn": "角色Id",
"ForeignSchema": null,
"ForeignTable": "用户角色关系视图",
"ForeignColumn": "角色Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
},
{
"PrimarySchema": null,
"PrimaryTable": "用户信息视图",
"PrimaryColumn": "用户名",
"ForeignSchema": null,
"ForeignTable": "用户角色关系视图",
"ForeignColumn": "用户名",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -0,0 +1,81 @@
{
"Name": "组织信息视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "组织Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "父节点Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "组织级别Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "排序",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织路径",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "组织信息视图",
"SourceTableName": "FGC_UMV_OI",
"CreateViewSql": "SELECT [组织Id] AS [组织Id], [组织名] AS [组织名], [父节点Id] AS [父节点Id], [组织级别Id] AS [组织级别Id], [排序] AS [排序], [组织路径] AS [组织路径] FROM [FGC_UMV_OI]",
"ViewType": 5
},
"PrimaryKey": [
"组织Id"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "组织信息视图",
"PrimaryColumn": "组织Id",
"ForeignSchema": null,
"ForeignTable": "组织信息视图",
"ForeignColumn": "父节点Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
},
{
"PrimarySchema": null,
"PrimaryTable": "组织级别视图",
"PrimaryColumn": "组织级别Id",
"ForeignSchema": null,
"ForeignTable": "组织信息视图",
"ForeignColumn": "组织级别Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -0,0 +1,30 @@
{
"Name": "组织级别视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "组织级别Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "组织级别名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "组织级别视图",
"SourceTableName": "FGC_UMV_OLI",
"CreateViewSql": "SELECT [组织级别Id] AS [组织级别Id], [组织级别名称] AS [组织级别名称] FROM [FGC_UMV_OLI]",
"ViewType": 11
},
"PrimaryKey": [
"组织级别Id"
],
"Indexes": [],
"Relations": []
}

View File

@@ -0,0 +1,44 @@
{
"Name": "角色信息视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "角色Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "角色名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "描述",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "上级分类Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "角色信息视图",
"SourceTableName": "FGC_UMV_RI",
"CreateViewSql": "SELECT [角色Id] AS [角色Id], [角色名] AS [角色名], [描述] AS [描述], [上级分类Id] AS [上级分类Id] FROM [FGC_UMV_RI]",
"ViewType": 4
},
"PrimaryKey": [
"角色Id"
],
"Indexes": [],
"Relations": []
}

View File

@@ -0,0 +1,64 @@
{
"Name": "角色分类关系视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "是否角色",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "父节点Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "排序",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "角色分类关系视图",
"SourceTableName": "FGC_UMV_RFR",
"CreateViewSql": "SELECT [Id] AS [Id], [名称] AS [名称], [是否角色] AS [是否角色], [父节点Id] AS [父节点Id], [排序] AS [排序] FROM [FGC_UMV_RFR]",
"ViewType": 7
},
"PrimaryKey": [
"Id",
"是否角色"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "角色分类关系视图",
"PrimaryColumn": "Id",
"ForeignSchema": null,
"ForeignTable": "角色分类关系视图",
"ForeignColumn": "父节点Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -0,0 +1,54 @@
{
"Name": "角色拥有权限视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "角色Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "拥有权限的角色Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "角色拥有权限视图",
"SourceTableName": "FGC_UMV_RII",
"CreateViewSql": "SELECT [角色Id] AS [角色Id], [拥有权限的角色Id] AS [拥有权限的角色Id] FROM [FGC_UMV_RII]",
"ViewType": 9
},
"PrimaryKey": [
"角色Id",
"拥有权限的角色Id"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "角色信息视图",
"PrimaryColumn": "角色Id",
"ForeignSchema": null,
"ForeignTable": "角色拥有权限视图",
"ForeignColumn": "角色Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
},
{
"PrimarySchema": null,
"PrimaryTable": "角色信息视图",
"PrimaryColumn": "角色Id",
"ForeignSchema": null,
"ForeignTable": "角色拥有权限视图",
"ForeignColumn": "拥有权限的角色Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -0,0 +1,61 @@
{
"Name": "角色组织关系视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "组织Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "角色Id",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "是否对下级生效",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "角色组织关系视图",
"SourceTableName": "FGC_UMV_ORR",
"CreateViewSql": "SELECT [组织Id] AS [组织Id], [角色Id] AS [角色Id], [是否对下级生效] AS [是否对下级生效] FROM [FGC_UMV_ORR]",
"ViewType": 8
},
"PrimaryKey": [
"组织Id",
"角色Id"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "角色信息视图",
"PrimaryColumn": "角色Id",
"ForeignSchema": null,
"ForeignTable": "角色组织关系视图",
"ForeignColumn": "角色Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
},
{
"PrimarySchema": null,
"PrimaryTable": "组织信息视图",
"PrimaryColumn": "组织Id",
"ForeignSchema": null,
"ForeignTable": "角色组织关系视图",
"ForeignColumn": "组织Id",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": false
}
]
}

View File

@@ -6,20 +6,22 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "分组名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -44,6 +46,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务分组",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -6,20 +6,22 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "版本名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -44,6 +46,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务版本",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -6,19 +6,22 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "状态码",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "任务状态",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -43,6 +46,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务状态",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],

View File

@@ -6,85 +6,113 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "父任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "任务名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserBindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "执行者",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "参与者",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"DatabaseColumnType": "datetime",
"MaxLength": -1,
"Name": "开始时间",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"DatabaseColumnType": "datetime",
"MaxLength": -1,
"Name": "结束时间",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务类型",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "分组ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "版本",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "任务说明",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "备注",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "工时核定方式",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.AttachmentBindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "关联资源",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务状态",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
@@ -107,8 +135,32 @@
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifyDate"
},
{
"$type": "Forguncy.Model.Tables.StatisticColumn, ServerDesignerCommon",
"AggregateFunction": 4,
"DataColumnName": "计划工时",
"DetailTableName": "View_任务工时统计",
"DetailTableSchema": "dbo",
"Name": "总计划工时",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.StatisticColumn, ServerDesignerCommon",
"AggregateFunction": 4,
"DataColumnName": "实际工时",
"DetailTableName": "View_任务工时统计",
"DetailTableSchema": "dbo",
"Name": "总实际工时",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],
@@ -179,6 +231,17 @@
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "工时核定方式",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "任务表",
"ForeignColumn": "工时核定方式",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
}
]
}

View File

@@ -0,0 +1,90 @@
{
"Name": "任务进展",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "进展状态ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "进展内容",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_Creator"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_CreateDate"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifier"
},
{
"$type": "Forguncy.Model.Tables.DateExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "任务进展",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "任务表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "任务进展",
"ForeignColumn": "任务ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "项目进展状态表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "任务进展",
"ForeignColumn": "进展状态ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
}
]
}

View File

@@ -0,0 +1,244 @@
{
"Name": "子任务视图",
"Columns": [
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "FGC_Creator",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"MaxLength": -1,
"Name": "FGC_CreateDate",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "FGC_LastModifier",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"MaxLength": -1,
"Name": "FGC_LastModifyDate",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "项目ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "任务名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "执行者",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "参与者",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"MaxLength": -1,
"Name": "开始时间",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Double",
"MaxLength": -1,
"Name": "结束时间",
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "任务类型",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "版本",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "任务说明",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "备注",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "父任务ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "任务状态",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "分组ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"MaxLength": -1,
"Name": "工时核定方式",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "关联资源",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}
],
"BuiltInViewInfo": {
"ViewName": "子任务视图",
"SourceViewName": "fgc2069855399514a36a1a234dda58",
"CreateViewSql": "SELECT * FROM \"任务表\"\r\nWHERE \"父任务ID\" is not NULL"
},
"PrimaryKey": [
"ID"
],
"Indexes": [],
"Relations": [
{
"PrimarySchema": null,
"PrimaryTable": "项目表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "项目ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务版本",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "版本",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务表",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "父任务ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务状态",
"PrimaryColumn": "状态码",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "任务状态",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务分组",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "分组ID",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "工时核定方式",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "工时核定方式",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "任务类型",
"PrimaryColumn": "ID",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "任务类型",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
},
{
"PrimarySchema": null,
"PrimaryTable": "用户信息视图",
"PrimaryColumn": "用户名",
"ForeignSchema": null,
"ForeignTable": "子任务视图",
"ForeignColumn": "执行者",
"RelationTypeOnDelete": 0,
"RelationTypeOnUpdate": 0,
"IsDetailTableRelation": true
}
]
}

View File

@@ -6,41 +6,53 @@
"Required": true,
"Unique": true,
"AutoIncrement": true,
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "项目名称",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "项目描述",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.ImageBindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "项目封面",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserBindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "管理员",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "System.Int64",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "所属客户",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "默认工时核定方式",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.Model.Tables.UserExtraBingingColumn, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
@@ -62,6 +74,12 @@
"Name": "FGC_LastModifyDate"
}
],
"ExternalDatabaseInfo": {
"AllowModifySchema": true,
"ConnectionId": "业务表",
"SourceTableName": "项目表",
"SourceTableSchema": "dbo"
},
"PrimaryKey": [
"ID"
],