Files
Atomx/Atomx.Common/Entities/ProductPicture.cs
2025-12-02 13:10:10 +08:00

43 lines
997 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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; }
}
}