You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1019 B

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Cloudcar.Admin.Commons.Entitys;
namespace Znyc.Cloudcar.Admin.Security.Entitys
{
/// <summary>
/// 订单明细表
/// </summary>
[Table("order_detail")]
[Serializable]
public class OrderDetailEntity : BaseEntity
{
/// <summary>
/// 订单表ID
/// </summary>
public long OrderId { get; set; }
/// <summary>
/// 订单商品ID
/// </summary>
public long ProductId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[MaxLength(25)]
public string ProductName { get; set; }
/// <summary>
/// 购买商品数量
/// </summary>
public int ProductCnt { get; set; }
/// <summary>
/// 购买商品单价
/// </summary>
public decimal ProductPrice { get; set; }
}
}