广丰卷烟厂数采质量分析系统
zhuguifei
7 天以前 2b31fa203f3435a582be51f45899d99164c9917a
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
71
72
73
74
75
76
77
78
79
80
81
82
83
/**
 * Namespace Api
 *
 * All backend api type
 */
declare namespace Api {
  /**
   * namespace Demo
   *
   * backend api module: "Demo"
   */
  namespace Demo {
    /** demo */
    type Demo = Common.CommonRecord<{
      /** 主键 */
      id: CommonType.IdType;
      /** 租户编号 */
      tenantId: CommonType.IdType;
      /** 部门id */
      deptId: CommonType.IdType;
      /** 用户id */
      userId: CommonType.IdType;
      /** 排序号 */
      orderNum: number;
      /** key键 */
      testKey: string;
      /** 值 */
      value: string;
      /** 备注 */
      remark: string;
      /** 版本 */
      version: number;
      /** 删除标志 */
      delFlag: number;
    }>;
 
    /** demo search params */
    type DemoSearchParams = CommonType.RecordNullable<
      Pick<Api.Demo.Demo, 'deptId' | 'userId' | 'testKey' | 'value'> & Api.Common.CommonSearchParams
    >;
 
    /** demo operate params */
    type DemoOperateParams = CommonType.RecordNullable<
      Pick<Api.Demo.Demo, 'id' | 'deptId' | 'userId' | 'orderNum' | 'testKey' | 'value' | 'remark'>
    >;
 
    /** demo list */
    type DemoList = Api.Common.PaginatingQueryRecord<Demo>;
 
    /** tree */
    type Tree = Common.CommonRecord<{
      /** 主键 */
      id: CommonType.IdType;
      /** 租户编号 */
      tenantId: CommonType.IdType;
      /** 父id */
      parentId: CommonType.IdType;
      /** 部门id */
      deptId: CommonType.IdType;
      /** 用户id */
      userId: CommonType.IdType;
      /** 值 */
      treeName: string;
      /** 版本 */
      version: number;
      /** 删除标志 */
      delFlag: number;
    }>;
 
    /** tree search params */
    type TreeSearchParams = CommonType.RecordNullable<
      Pick<Api.Demo.Tree, 'parentId' | 'deptId' | 'userId' | 'treeName'> & Api.Common.CommonSearchParams
    >;
 
    /** tree operate params */
    type TreeOperateParams = CommonType.RecordNullable<
      Pick<Api.Demo.Tree, 'id' | 'parentId' | 'deptId' | 'userId' | 'treeName'>
    >;
 
    /** tree list */
    type TreeList = Tree[];
  }
}