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