移动系统liao
2024-08-15 f43970a061d3c90520b4e8f48caa17a204d9a085
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
@@ -108,7 +108,10 @@
        ///     关联SKU
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<CoreCmsProducts> sku { get; set; } = new();
        [Navigate(NavigateType.OneToMany, nameof(CoreCmsProducts.goodsId))]
        public List<CoreCmsProducts> sku { get; set; }
        /// <summary>
        /// 商品规格
@@ -243,5 +246,27 @@
        [SugarColumn(IsIgnore = true)]
        public bool isCustomizable {  get; set; }= false;
        /// <summary>
        /// 商品分类
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(goodsCategoryId))]
        public CoreCmsGoodsCategory? goodsCategory { get; set; }
        /// <summary>
        /// 商品品牌
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(brandId))]
        public CoreCmsBrand? goodsBrand { get; set; }
        /// <summary>
        /// 扩展分类
        /// </summary>
        [Navigate(NavigateType.OneToMany, nameof(CoreCmsGoodsCategoryExtend.goodsId), nameof(id))]
        public List<CoreCmsGoodsCategoryExtend>? CategoryExtendIds { get; set; }
    }
}