添加项目文件。
This commit is contained in:
39
Atomx.Common/Entities/ProductAttributeRelation.cs
Normal file
39
Atomx.Common/Entities/ProductAttributeRelation.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Atomx.Common.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品属性关系表
|
||||
/// </summary>
|
||||
[Table("ProductAttributeRelations")]
|
||||
public class ProductAttributeRelation
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品属性关联数据ID
|
||||
/// </summary>
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[Key]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品ID
|
||||
/// </summary>
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品属性ID
|
||||
/// </summary>
|
||||
public long AttributeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性
|
||||
/// </summary>
|
||||
public bool Image { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 展示排序
|
||||
/// </summary>
|
||||
public int DisplayOrder { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user