Skip to content

Commit 805725a

Browse files
smell
1 parent 6b39100 commit 805725a

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/Dotnet6.GraphQL4.Store.Domain/Entities/Products/Backpacks/IBackpackBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace Dotnet6.GraphQL4.Store.Domain.Entities.Products.Backpacks
55
{
66
public interface IBackpackBuilder : IProductBuilder<BackpackBuilder, Backpack, Guid>
77
{
8-
BackpackType Type { set; }
8+
BackpackType Type { get; set; }
99
}
1010
}

src/Dotnet6.GraphQL4.Store.Domain/Entities/Products/Boots/IBootBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Dotnet6.GraphQL4.Store.Domain.Entities.Products.Boots
55
{
66
public interface IBootBuilder : IProductBuilder<BootBuilder,Boot, Guid>
77
{
8-
BootType Type { set; }
9-
int Size { set; }
8+
BootType Type { get; set; }
9+
int Size { get; set; }
1010
}
1111
}

src/Dotnet6.GraphQL4.Store.Domain/Entities/Products/IProductBuilder.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ public interface IProductBuilder<out TBuilder, out TProduct, TId> : IBuilder<TBu
1111
where TProduct : Entity<TId>, IProduct
1212
where TId : struct
1313
{
14-
string Description { set; }
15-
DateTimeOffset IntroduceAt { set; }
16-
string Name { set; }
17-
Option Option { set; }
18-
string PhotoUrl { set; }
19-
decimal Price { set; }
20-
ProductType ProductType { set; }
21-
int Rating { set; }
22-
int Stock { set; }
14+
string Description { get; set; }
15+
DateTimeOffset IntroduceAt { get; set; }
16+
string Name { get; set; }
17+
Option Option { get; set; }
18+
string PhotoUrl { get; set; }
19+
decimal Price { get; set; }
20+
ProductType ProductType { get; set; }
21+
int Rating { get; set; }
22+
int Stock { get; set; }
2323
}
2424
}

src/Dotnet6.GraphQL4.Store.Domain/Entities/Products/Kayaks/IKayakBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Dotnet6.GraphQL4.Store.Domain.Entities.Products.Kayaks
55
{
66
public interface IKayakBuilder : IProductBuilder<KayakBuilder, Kayak, Guid>
77
{
8-
int AmountOfPerson { set; }
9-
KayakType Type { set; }
8+
int AmountOfPerson { get; set; }
9+
KayakType Type { get; set; }
1010
}
1111
}

src/Dotnet6.GraphQL4.Store.Domain/Entities/Reviews/IReviewBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ namespace Dotnet6.GraphQL4.Store.Domain.Entities.Reviews
55
{
66
public interface IReviewBuilder : IBuilder<ReviewBuilder, Review, Guid>
77
{
8-
string Title { set; }
9-
string Comment { set; }
10-
Guid ProductId { set; }
8+
string Title { get; set; }
9+
string Comment { get; set; }
10+
Guid ProductId { get; set; }
1111
}
1212
}

0 commit comments

Comments
 (0)