This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: yanpengju <yanpengju@masastack.com>
- Loading branch information
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Dcc/IDccClient.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,9 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
namespace Masa.BuildingBlocks.BasicAbility.Dcc; | ||
|
||
public interface IDccClient | ||
{ | ||
public ILabelService LabelService { get; } | ||
} |
9 changes: 9 additions & 0 deletions
9
...cAbility/Masa.BuildingBlocks.BasicAbility.Dcc/Masa.BuildingBlocks.BasicAbility.Dcc.csproj
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,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
20 changes: 20 additions & 0 deletions
20
src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Dcc/Model/LabelModel.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 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
namespace Masa.BuildingBlocks.BasicAbility.Dcc.Model | ||
{ | ||
public class LabelModel | ||
{ | ||
public int Id { get; set; } | ||
|
||
public string Code { get; set; } = ""; | ||
|
||
public string Name { get; set; } = ""; | ||
|
||
public string TypeCode { get; set; } = ""; | ||
|
||
public string TypeName { get; set; } = ""; | ||
|
||
public string Description { get; set; } = ""; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Dcc/Service/ILabelService.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,9 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
namespace Masa.BuildingBlocks.BasicAbility.Dcc.Service; | ||
|
||
public interface ILabelService | ||
{ | ||
Task<List<LabelModel>> GetListByTypeCodeAsync(string typeCode); | ||
} |
5 changes: 5 additions & 0 deletions
5
src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Dcc/_Imports.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,5 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
global using Masa.BuildingBlocks.BasicAbility.Dcc.Model; | ||
global using Masa.BuildingBlocks.BasicAbility.Dcc.Service; |