using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Atomx.Common.Entities { /// /// 产品属性关系表 /// [Table("ProductAttributeRelations")] public class ProductAttributeRelation { /// /// 产品属性关联数据ID /// [DatabaseGenerated(DatabaseGeneratedOption.None)] [Key] public long Id { get; set; } /// /// 产品ID /// public long ProductId { get; set; } /// /// 产品属性ID /// public long AttributeId { get; set; } /// /// 属性 /// public bool Image { get; set; } /// /// 展示排序 /// public int DisplayOrder { get; set; } } }