Files
Atomx/Atomx.Admin/Atomx.Admin.Client/Models/ProductAttributeModel.cs
2025-12-02 13:10:10 +08:00

51 lines
1.2 KiB
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.
namespace Atomx.Admin.Client.Models
{
public class ProductAttributeModel
{
/// <summary>
/// 属性ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 上级属性,用于规格属性做分组
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// 分类ID
/// </summary>
public long CategoryId { get; set; }
/// <summary>
/// 属性名称
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// 属性控件类型1选项0文本
/// </summary>
public int ControlType { get; set; }
/// <summary>
/// 必须填写重量
/// </summary>
public bool WeightIsRequired { get; set; }
/// <summary>
/// 是否是必须的属性
/// </summary>
public bool IsRequired { get; set; }
/// <summary>
/// 展示排序
/// </summary>
public int DisplayOrder { get; set; }
/// <summary>
/// 数据状态
/// </summary>
public int Status { get; set; }
}
}