40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.NET.Core
|
|
{
|
|
|
|
[SugarTable(null, "基础产品信息")]
|
|
[SysTable]
|
|
public class BusProduct : EntityBase
|
|
{
|
|
/// <summary>
|
|
/// 产品名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "产品名称", Length = 200)]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品单价
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "产品单价")]
|
|
public decimal Price { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品图片
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "产品图片", IsNullable = true)]
|
|
public string Image { get; set; }
|
|
/// <summary>
|
|
/// 产品简介
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "产品简介", IsNullable = true, Length = int.MaxValue)]
|
|
public string Summary { get; set; }
|
|
|
|
|
|
}
|
|
}
|