Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AuctionOffer.cs
1using System;
4
6{
10 [CollectionName("AuctionOffers")]
11 [TypeName(TypeNameSerialization.None)]
12 [Index("ContractId", "Score")]
13 [Index("Processed", "Created")]
14 [Index("OfferLegalId", "Created")]
15 [ArchivingTime(731)] // 2 years
16 public class AuctionOffer
17 {
21 public AuctionOffer()
22 {
23 this.Score = null;
24 }
25
29 [ObjectId]
30 public Guid ObjectId { get; set; }
31
35 public CaseInsensitiveString ContractId { get; set; }
36
41
46
50 public CaseInsensitiveString OfferJid { get; set; }
51
55 public AuctionItemTag[] Tags { get; set; }
56
60 public decimal Price { get; set; }
61
65 public string Currency { get; set; }
66
70 public decimal? Score { get; set; }
71
75 public DateTime Created { get; set; }
76 }
77}
Represents a case-insensitive string.
Class representing a persisted tag on an auction item.
Contains information about an item being auctioned by the marketplace.
Definition: AuctionOffer.cs:17
DateTime Created
When auction item was created.
Definition: AuctionOffer.cs:75
CaseInsensitiveString ContractId
Auction Item Contract ID
Definition: AuctionOffer.cs:35
CaseInsensitiveString OfferContractId
Offer Contract ID
Definition: AuctionOffer.cs:40
string Currency
Currency used for prices
Definition: AuctionOffer.cs:65
AuctionItemTag[] Tags
Tags identifying the offer
Definition: AuctionOffer.cs:55
CaseInsensitiveString OfferLegalId
Legal ID creating Offer Contract
Definition: AuctionOffer.cs:45
AuctionOffer()
Contains information about an item being auctioned by the marketplace.
Definition: AuctionOffer.cs:21
CaseInsensitiveString OfferJid
JID ocreating Offer Contract
Definition: AuctionOffer.cs:50
TypeNameSerialization
How the type name should be serialized.