-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aafe88b
commit 841da6a
Showing
34 changed files
with
4,787 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...asyMicroservices.TemplateGeneratorMicroservice.Database/Database/Entities/ActionEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using EasyMicroservices.Cores.Interfaces; | ||
using EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
using System.Collections.Generic; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
public class ActionEntity : ActionSchema, IIdSchema<long> | ||
{ | ||
public long Id { get; set; } | ||
|
||
public long? ParentId { get; set; } | ||
public ActionEntity Parent { get; set; } | ||
|
||
public ICollection<ActionEntity> Children { get; set; } | ||
|
||
public ICollection<FormItemEventActionEntity> FormItemEventActions { get; set; } | ||
} |
10 changes: 10 additions & 0 deletions
10
...EasyMicroservices.TemplateGeneratorMicroservice.Database/Database/Entities/EventEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using EasyMicroservices.Cores.Interfaces; | ||
using EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
using System.Collections.Generic; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
public class EventEntity : EventSchema, IIdSchema<long> | ||
{ | ||
public long Id { get; set; } | ||
public ICollection<FormItemEventEntity> FormItemEvents { get; set; } | ||
} |
15 changes: 15 additions & 0 deletions
15
...vices.TemplateGeneratorMicroservice.Database/Database/Entities/FormItemActionJobEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
|
||
/// <summary> | ||
/// do the action on this formItem | ||
/// </summary> | ||
public class FormItemActionJobEntity : FullAbilityIdSchema<long> | ||
{ | ||
public long ActionId { get; set; } | ||
public ActionEntity Action { get; set; } | ||
|
||
public long FormItemId { get; set; } | ||
public FormItemEntity FormItem { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ces.TemplateGeneratorMicroservice.Database/Database/Entities/FormItemEventActionEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
using System.Collections.Generic; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
public class FormItemEventActionEntity : FullAbilityIdSchema<long> | ||
{ | ||
public long FormItemEventId { get; set; } | ||
public long ActionId { get; set; } | ||
public long? FormItemId { get; set; } | ||
public long? ParentId { get; set; } | ||
|
||
public int OrderIndex { get; set; } | ||
|
||
public FormItemEntity FormItem { get; set; } | ||
public FormItemEventEntity FormItemEvent { get; set; } | ||
public ActionEntity Action { get; set; } | ||
|
||
public ICollection<FormItemEventActionEntity> Children { get; set; } | ||
public ICollection<FormItemEventActionExecutionEntity> FormItemEventActionCallHistories { get; set; } | ||
} |
11 changes: 11 additions & 0 deletions
11
...ateGeneratorMicroservice.Database/Database/Entities/FormItemEventActionExecutionEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using EasyMicroservices.Cores.Interfaces; | ||
using EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
public class FormItemEventActionExecutionEntity : FormItemEventActionExecutionSchema, IIdSchema<long> | ||
{ | ||
public long Id { get; set; } | ||
public long FormItemEventActionId { get; set; } | ||
|
||
public FormItemEventActionEntity FormItemEventAction { get; set; } | ||
} |
14 changes: 14 additions & 0 deletions
14
...oservices.TemplateGeneratorMicroservice.Database/Database/Entities/FormItemEventEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
using System.Collections.Generic; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
public class FormItemEventEntity : FullAbilityIdSchema<long> | ||
{ | ||
public long? FormItemId { get; set; } | ||
public long EventId { get; set; } | ||
|
||
public FormItemEntity FormItem { get; set; } | ||
public EventEntity Event { get; set; } | ||
|
||
public ICollection<FormItemEventActionEntity> FormItemEventActions { get; set; } | ||
} |
12 changes: 12 additions & 0 deletions
12
...EasyMicroservices.TemplateGeneratorMicroservice.Database/Database/Schemas/ActionSchema.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
using EasyMicroservices.TemplateGeneratorMicroservice.Database.Entities; | ||
using System.Collections.Generic; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
public class ActionSchema : FullAbilitySchema | ||
{ | ||
public string JobName { get; set; } | ||
public int OrderIndex { get; set; } | ||
|
||
public ICollection<FormItemActionJobEntity> FormItemActionJobs { get; set; } | ||
} |
7 changes: 7 additions & 0 deletions
7
.../EasyMicroservices.TemplateGeneratorMicroservice.Database/Database/Schemas/EventSchema.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
public class EventSchema : FullAbilitySchema | ||
{ | ||
public string Name { get; set; } | ||
} |
11 changes: 11 additions & 0 deletions
11
...lateGeneratorMicroservice.Database/Database/Schemas/FormItemEventActionExecutionSchema.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using EasyMicroservices.Cores.Database.Schemas; | ||
using EasyMicroservices.TemplateGeneratorMicroservice.DataTypes; | ||
|
||
namespace EasyMicroservices.TemplateGeneratorMicroservice.Database.Schemas; | ||
public class FormItemEventActionExecutionSchema : FullAbilitySchema | ||
{ | ||
public string RequestJson { get; set; } | ||
public string ResponseJson { get; set; } | ||
|
||
public ActionExecutionStatusType Status { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.