chore: import upstream snapshot with attribution
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:21:23 +08:00
commit b957a53def
5423 changed files with 863745 additions and 0 deletions
@@ -0,0 +1,39 @@
// Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace StructuredDataPlugin;
/// <summary>
/// Represents a product entity in the database.
/// </summary>
public sealed class Product
{
/// <summary>
/// The unique identifier for the product.
/// </summary>
[Description("The unique identifier for the product.")]
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid? Id { get; set; }
/// <summary>
/// The description of the product.
/// </summary>
[Description("The name of the product.")]
public string? Name { get; set; }
/// <summary>
/// The price of the product.
/// </summary>
[Description("The price of the product in USD.")]
public decimal? Price { get; set; }
/// <summary>
/// The date the product was created.
/// </summary>
[Description("The date the product was created")]
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public DateTime? DateCreated { get; set; }
}