43 lines
997 B
C#
43 lines
997 B
C#
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
||
namespace Atomx.Common.Entities
|
||
{
|
||
[Table("ProductPictures")]
|
||
public class ProductPicture
|
||
{
|
||
/// <summary>
|
||
/// 数据ID
|
||
/// </summary>
|
||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||
[Key]
|
||
public long Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 图片类型,封面,SKU
|
||
/// </summary>
|
||
public int Type { get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品ID
|
||
/// </summary>
|
||
public long ProductId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品属性组合ID
|
||
/// </summary>
|
||
public long ProductAttributeCombination { get; set; }
|
||
|
||
/// <summary>
|
||
/// 图片ID
|
||
/// </summary>
|
||
public long FileId { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 显示排序
|
||
/// </summary>
|
||
public int DisplayOrder { get; set; }
|
||
}
|
||
}
|