commit changes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@@ -9,7 +9,17 @@ namespace Models.Models
|
||||
public User User { get; set; }
|
||||
public ICollection<Product> ProductsADeal { get; set; }
|
||||
public double Amount { get; set; }
|
||||
[Timestamp]
|
||||
public byte[] Time { get; set; }
|
||||
|
||||
private byte[] time;
|
||||
|
||||
public byte[] GetTime()
|
||||
{
|
||||
return time;
|
||||
}
|
||||
|
||||
public void SetTime(byte[] value)
|
||||
{
|
||||
time = value;
|
||||
}
|
||||
}
|
||||
}
|
@@ -10,6 +10,8 @@ namespace Models.Models.Interfaces
|
||||
User User { get; set; }
|
||||
ICollection<Product> ProductsADeal { get; set;}
|
||||
double Amount { get; set; }
|
||||
public byte[] Time { get; set; }
|
||||
|
||||
byte[] GetTime();
|
||||
void SetTime(byte[] value);
|
||||
}
|
||||
}
|
||||
|
@@ -11,7 +11,17 @@ namespace Models.Models
|
||||
public User User { get; set; }
|
||||
public ICollection<Product> ProductsADeal { get; set; }
|
||||
public double Amount { get; set; }
|
||||
[Timestamp]
|
||||
public byte[] Time { get; set; }
|
||||
|
||||
private byte[] time;
|
||||
|
||||
public byte[] GetTime()
|
||||
{
|
||||
return time;
|
||||
}
|
||||
|
||||
public void SetTime(byte[] value)
|
||||
{
|
||||
time = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user