username@email.com
2024-09-09 e8fd9aa8a76c638991e60544ccab53e2e5bd5b6a
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
@@ -1,7 +1,7 @@
/***********************************************************************
 *            Project: CoreCms
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: hhtp://chuanyin.com
 *                Web: http://chuanyin.com
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 202403/02   
@@ -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>
        /// 商品规格
@@ -237,5 +240,33 @@
        [SugarColumn(IsIgnore = true)]
        public string area { get; set; }
        /// <summary>
        /// 是否有支持定制的
        /// </summary>
        [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; }
    }
}