mirror of https://github.com/abpframework/abp.git
14 changed files with 176 additions and 19 deletions
@ -0,0 +1,23 @@ |
|||
using JetBrains.Annotations; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ObjectExtending |
|||
{ |
|||
public class ModuleEntityObjectPropertyExtensionApiConfigurationDto |
|||
{ |
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiGetConfigurationDto OnGet { get; set; } |
|||
|
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiCreateConfigurationDto OnCreate { get; set; } |
|||
|
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiUpdateConfigurationDto OnUpdate { get; set; } |
|||
|
|||
public ModuleEntityObjectPropertyExtensionApiConfigurationDto() |
|||
{ |
|||
OnGet = new ModuleEntityObjectPropertyExtensionApiGetConfigurationDto(); |
|||
OnCreate = new ModuleEntityObjectPropertyExtensionApiCreateConfigurationDto(); |
|||
OnUpdate = new ModuleEntityObjectPropertyExtensionApiUpdateConfigurationDto(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ObjectExtending |
|||
{ |
|||
[Serializable] |
|||
public class ModuleEntityObjectPropertyExtensionApiCreateConfigurationDto |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ObjectExtending |
|||
{ |
|||
[Serializable] |
|||
public class ModuleEntityObjectPropertyExtensionApiGetConfigurationDto |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ObjectExtending |
|||
{ |
|||
[Serializable] |
|||
public class ModuleEntityObjectPropertyExtensionApiUpdateConfigurationDto |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
@ -0,0 +1,23 @@ |
|||
using JetBrains.Annotations; |
|||
|
|||
namespace Volo.Abp.ObjectExtending |
|||
{ |
|||
public class ModuleEntityObjectPropertyExtensionApiConfiguration |
|||
{ |
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiGetConfiguration OnGet { get; } |
|||
|
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiCreateConfiguration OnCreate { get; } |
|||
|
|||
[NotNull] |
|||
public ModuleEntityObjectPropertyExtensionApiUpdateConfiguration OnUpdate { get; } |
|||
|
|||
public ModuleEntityObjectPropertyExtensionApiConfiguration() |
|||
{ |
|||
OnGet = new ModuleEntityObjectPropertyExtensionApiGetConfiguration(); |
|||
OnCreate = new ModuleEntityObjectPropertyExtensionApiCreateConfiguration(); |
|||
OnUpdate = new ModuleEntityObjectPropertyExtensionApiUpdateConfiguration(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
namespace Volo.Abp.ObjectExtending |
|||
{ |
|||
public class ModuleEntityObjectPropertyExtensionApiCreateConfiguration |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
namespace Volo.Abp.ObjectExtending |
|||
{ |
|||
public class ModuleEntityObjectPropertyExtensionApiGetConfiguration |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
namespace Volo.Abp.ObjectExtending |
|||
{ |
|||
public class ModuleEntityObjectPropertyExtensionApiUpdateConfiguration |
|||
{ |
|||
/// <summary>
|
|||
/// Default: true.
|
|||
/// </summary>
|
|||
public bool IsAvailable { get; set; } = true; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue