添加项目文件。
This commit is contained in:
42
Atomx.Common/Entities/ProductPicture.cs
Normal file
42
Atomx.Common/Entities/ProductPicture.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user