Skip to content

Instantly share code, notes, and snippets.

@ChouJustice
Created June 14, 2022 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChouJustice/db1b1e7cb5a746dcf3601bbf11a1bc87 to your computer and use it in GitHub Desktop.
Save ChouJustice/db1b1e7cb5a746dcf3601bbf11a1bc87 to your computer and use it in GitHub Desktop.
namespace WebCoreLab.Models.DBEntity
{
/// <summary>
/// 商品資料
/// </summary>
public class Product : DBEntity
{
/// <summary>
/// 商品Id
/// </summary>
public int Id { get; set; }
/// <summary>
/// 商品名稱
/// </summary>
public string Name { get; set; }
/// <summary>
/// 商品單價
/// </summary>
public decimal Price { get; set; }
/// <summary>
/// 商品描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 商品圖片
/// </summary>
public string Image { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment