username@email.com
2024-10-29 a5851a4e906725b868bcfdaa8c59249523137586
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email: 34161541@qq.com
 *         CreateTime: 2024-03-01 22:14:58
 *        Description: 暂无
***********************************************************************/ 
using SqlSugar;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 商品分类扩展表
    /// </summary>
    [SugarTable("CoreCmsGoodsCategoryExtend",TableDescription = "商品分类扩展表")]
    public partial class CoreCmsGoodsCategoryExtend
    {
        /// <summary>
        /// 商品分类扩展表
        /// </summary>
        public CoreCmsGoodsCategoryExtend()
        {
        }
 
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        [Display(Name = "商品id")]
        [SugarColumn(ColumnDescription = "商品id", IsNullable = true)]
        public System.Int32? goodsId { get; set; }
        /// <summary>
        /// 商品分类id
        /// </summary>
        [Display(Name = "商品分类id")]
        [SugarColumn(ColumnDescription = "商品分类id", IsNullable = true)]
        public System.Int32? goodsCategroyId { get; set; }
 
        /// <summary>
        /// 商品分类
        /// </summary>        
        [Navigate(NavigateType.OneToOne, nameof(goodsCategroyId),nameof(CoreCmsGoodsCategory.id))]
        public CoreCmsGoodsCategory? Categroy { get; set; }
    }
}