Skip to content

Commit 8113d26

Browse files
committed
add auction models
1 parent 4cfcdb9 commit 8113d26

File tree

6 files changed

+648
-0
lines changed

6 files changed

+648
-0
lines changed

src/CoinyProject.Core.Domain/Entities/AlbumElement.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4+
using System.Reflection.PortableExecutable;
45
using System.Text;
56
using System.Threading.Tasks;
67

src/CoinyProject.Core.Domain/Entities/Auction.cs

+6
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@ public class Auction
1010
{
1111
public int Id { get; set; }
1212
public AlbumElement Lot { get; set; }
13+
public AuctionBet AuctionBet { get; set; }
14+
public float StartPrice { get; set; }
15+
public float BetDelta { get; set; }
16+
public DateTime StartTime { get; set; }
17+
public DateTime ExpirationTime { get; set; }
18+
public bool IsSoldEarlier { get; set; }
1319
}
1420
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace CoinyProject.Core.Domain.Entities
8+
{
9+
public class AuctionBet
10+
{
11+
public int Id { get; set; }
12+
public float Price { get; set; }
13+
public User User { get; set; }
14+
}
15+
}

0 commit comments

Comments
 (0)