Skip to content

Commit

Permalink
Merge pull request #16 from Azure-Samples/seesharprun-patch-1
Browse files Browse the repository at this point in the history
Add metadata to model class
  • Loading branch information
seesharprun authored Oct 19, 2023
2 parents d881fd6 + 297c8fe commit 31c532c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/web/Models/Product.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
namespace Cosmos.Samples.NoSQL.Quickstart.Web.Models;

// <model>
public record Product(
string id,
string category,
string name,
int quantity,
decimal price,
bool clearance
);
);
// </model>

0 comments on commit 31c532c

Please sign in to comment.