File tree 9 files changed +62
-4
lines changed
9 files changed +62
-4
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFramework >net7.0</TargetFramework >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
- <Nullable >enable </Nullable >
6
+ <Nullable >disable </Nullable >
7
7
</PropertyGroup >
8
8
9
9
</Project >
Original file line number Diff line number Diff line change
1
+ using System . ComponentModel . DataAnnotations ;
2
+ using System . ComponentModel . DataAnnotations . Schema ;
3
+
4
+ namespace YangiBozor . Domain . Comons ;
5
+
6
+ public class Auditable
7
+ {
8
+ [ Key , DatabaseGenerated ( DatabaseGeneratedOption . Identity ) ]
9
+ public long Id { get ; set ; }
10
+ public DateTime CreatedAt { get ; set ; }
11
+ public DateTime ? UpdatedAt { get ; set ; }
12
+ }
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Text ;
5
+ using System . Threading . Tasks ;
6
+
7
+ namespace YangiBozor . Domain . Entities
8
+ {
9
+ internal class Cart
10
+ {
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Text ;
5
+ using System . Threading . Tasks ;
6
+
7
+ namespace YangiBozor . Domain . Entities
8
+ {
9
+ internal class Product
10
+ {
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ namespace YangiBozor . Domain . Entities ;
2
+
3
+ public class User
4
+ {
5
+ public string FirstName { get ; set ; }
6
+ }
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Text ;
5
+ using System . Threading . Tasks ;
6
+
7
+ namespace YangiBozor . Domain . Enums
8
+ {
9
+ internal class UserRole
10
+ {
11
+ }
12
+ }
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFramework >net7.0</TargetFramework >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
- <Nullable >enable </Nullable >
6
+ <Nullable >disable </Nullable >
7
7
</PropertyGroup >
8
8
9
+ <ItemGroup >
10
+ <Folder Include =" Enums\" />
11
+ </ItemGroup >
12
+
9
13
</Project >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFramework >net7.0</TargetFramework >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
- <Nullable >enable </Nullable >
6
+ <Nullable >disable </Nullable >
7
7
</PropertyGroup >
8
8
9
9
</Project >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >net7.0</TargetFramework >
5
- <Nullable >enable </Nullable >
5
+ <Nullable >disable </Nullable >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
</PropertyGroup >
8
8
You can’t perform that action at this time.
0 commit comments