liaoxujun@qq.com
2024-02-28 9f8e542b9b74fe18a6a4e0a00fef4b50e3e62581
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2021/1/31 21:45:10
 *        Description: 暂无
 ***********************************************************************/
 
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    ///     表单项表
    /// </summary>
    public partial class CoreCmsFormItem
    {
        /// <summary>
        ///     商品
        /// </summary>
        [Display(Name = "商品")]
        [SugarColumn(IsIgnore = true)]
        public CoreCmsGoods good { get; set; }
 
        /// <summary>
        ///     商品购物车数量
        /// </summary>
        [Display(Name = "商品购物车数量")]
        [SugarColumn(IsIgnore = true)]
        public int cartCount { get; set; } = 0;
 
 
        /// <summary>
        ///     复选内容
        /// </summary>
        [Display(Name = "复选内容")]
        [SugarColumn(IsIgnore = true)]
        public List<TempCheckbox> checkboxValue { get; set; }
 
 
        /// <summary>
        ///     单选内容
        /// </summary>
        [Display(Name = "单选内容")]
        [SugarColumn(IsIgnore = true)]
        public List<string> radioValue { get; set; }
 
 
        /// <summary>
        ///     表单提交值
        /// </summary>
        [Display(Name = "表单提交值")]
        [SugarColumn(IsIgnore = true)]
        public string postValue { get; set; } = "";
 
    }
 
    /// <summary>
    ///     表单checkbox选中集合实体
    /// </summary>
    public class TempCheckbox
    {
        public bool @checked { get; set; }
        public string value { get; set; }
    }
}