| | |
| | | /*********************************************************************** |
| | | * Project: CoreCms |
| | | * ProjectName: 核心内容管理系统 |
| | | * Web: https://www.corecms.net |
| | | * Author: 大灰灰 |
| | | * Email: jianweie@163.com |
| | | * CreateTime: 2021/1/31 21:45:10 |
| | | * Project: baifenBinfa |
| | | * ProjectName: 百分兵法管理系统 |
| | | * Web: http://chuanyin.com |
| | | * Author: |
| | | * Email: |
| | | * CreateTime: 202403/02 |
| | | * Description: 暂无 |
| | | ***********************************************************************/ |
| | | |
| | |
| | | /// 关联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> |
| | | /// 商品规格 |
| | |
| | | /// </summary> |
| | | [SugarColumn(IsIgnore = true)] |
| | | public decimal maxPrice { get; set; } = 0; |
| | | /// <summary> |
| | | /// sku最大价格 |
| | | /// </summary> |
| | | [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; } |
| | | |
| | | } |
| | | } |