username@email.com
2024-09-09 626943b5ba84ce44bc19f4c3b8e8e94638bec733
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
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 202403/02   
 *        Description: 暂无
 ***********************************************************************/
 
 
using System.Collections.Generic;
using System.ComponentModel;
 
namespace CoreCms.Net.Model.ViewModels.DTO
{
    public class AreaTreeDto
    {
        public int id { get; set; }
        public string title { get; set; }
 
        public bool isLast { get; set; }
 
        public int level { get; set; }
 
        public int parentId { get; set; }
 
        public List<AreaTreeCheckArr> checkArr { get; set; }
 
        public List<AreaTreeDto> children { get; set; }
    }
 
    public class AreaTreeCheckArr
    {
        public string type { get; set; } = "0";
        public string @checked { get; set; } = "0";
    }
 
    public class PostGetAreaParameters
    {
        [Description("选中节点")] public string ids { get; set; }
 
        [Description("节点序列")] public int nodeId { get; set; } = 0;
 
        [Description("是否选中")] public int ischecked { get; set; } = 0;
    }
 
    /// <summary>
    ///     编辑时默认选中的反馈数据中ids实体
    /// </summary>
    public class PostAreasTreeNode
    {
        public string id { get; set; }
        public string pid { get; set; }
        public string name { get; set; }
        public int ischecked { get; set; }
    }
}