commit changes
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -9,7 +9,17 @@ namespace Models.Models
|
|||||||
public User User { get; set; }
|
public User User { get; set; }
|
||||||
public ICollection<Product> ProductsADeal { get; set; }
|
public ICollection<Product> ProductsADeal { get; set; }
|
||||||
public double Amount { 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; }
|
User User { get; set; }
|
||||||
ICollection<Product> ProductsADeal { get; set;}
|
ICollection<Product> ProductsADeal { get; set;}
|
||||||
double Amount { 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 User User { get; set; }
|
||||||
public ICollection<Product> ProductsADeal { get; set; }
|
public ICollection<Product> ProductsADeal { get; set; }
|
||||||
public double Amount { 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