-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
5 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
MyRestaurant.Business/Dtos/V1/UnitOfMeasureDtos/CreateUnitOfMeasureDto.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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
namespace MyRestaurant.Business.Dtos.V1 | ||
{ | ||
public class CreateUnitOfMeasureDto : UnitOfMeasureDto | ||
public class CreateUnitOfMeasureDto : IUnitOfMeasureDto | ||
{ | ||
public required string Code { get; set; } | ||
public string? Description { get; set; } | ||
} | ||
} |
4 changes: 3 additions & 1 deletion
4
MyRestaurant.Business/Dtos/V1/UnitOfMeasureDtos/EditUnitOfMeasureDto.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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
namespace MyRestaurant.Business.Dtos.V1 | ||
{ | ||
public class EditUnitOfMeasureDto : UnitOfMeasureDto | ||
public class EditUnitOfMeasureDto : IUnitOfMeasureDto | ||
{ | ||
public required string Code { get; set; } | ||
public string? Description { get; set; } | ||
} | ||
} |
4 changes: 3 additions & 1 deletion
4
MyRestaurant.Business/Dtos/V1/UnitOfMeasureDtos/GetUnitOfMeasureDto.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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
namespace MyRestaurant.Business.Dtos.V1 | ||
{ | ||
public class GetUnitOfMeasureDto : UnitOfMeasureDto | ||
public class GetUnitOfMeasureDto : IUnitOfMeasureDto | ||
{ | ||
public int Id { get; set; } | ||
public required string Code { get; set; } | ||
public string? Description { get; set; } | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
MyRestaurant.Business/Dtos/V1/UnitOfMeasureDtos/IUnitOfMeasureDto.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,8 @@ | ||
namespace MyRestaurant.Business.Dtos.V1 | ||
{ | ||
public interface IUnitOfMeasureDto | ||
{ | ||
string Code { get; set; } | ||
string? Description { get; set; } | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
MyRestaurant.Business/Dtos/V1/UnitOfMeasureDtos/UnitOfMeasureDto.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