namespace Atomx.Admin.Client.Models { /// /// 产品销售属性模型 /// public class ProductSaleAttributeModel { /// /// 数据ID /// public long Id { get; set; } /// /// 属性ID /// public long AttributeId { get; set; } /// /// 控件的类型 /// public int ControlType { get; set; } /// /// 必须填重量 /// public bool WeightIsRequired { get; set; } /// /// 属性名称 /// public string Name { get; set; } = string.Empty; /// /// 是否拥有规格图片 /// public bool Image { get; set; } /// /// 属性排序 /// public int DisplayOrder { get; set; } /// /// 产品属性值 /// public List ProductAttributeValues { get; set; } = new List(); /// /// /// public string SelectOption { get; set; } = string.Empty; /// /// 输入的新属性值 /// public string InputText { get; set; } = string.Empty; /// /// 是否编辑状态 /// public bool AddAttribute { get; set; } /// /// 是否是必须的属性 /// public bool IsRequired { get; set; } } }