liujiandao
2024-04-22 8cb1da78fd4d237b278ed4d512c6c4f04b663cfc
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
package request
 
type GetCodeList struct {
    PageInfo
    CodeStandID string `json:"codeStandID"`
    Name        string `json:"name"`
    Type        string `json:"type"`
}
 
type CodeStandard struct {
    ID       string      `json:"id"`
    Name     string      `json:"name"`
    Type     string      `json:"type"`
    Method   int32       `json:"method"`
    Status   string      `json:"status"`
    List     []*CodeRule `json:"list"`
    AutoRule *CodeAuto   `json:"autoRule"`
}
 
type CodeRule struct {
    Name   string `json:"name"`
    Length int32  `json:"length"`
    Desc   string `json:"desc"`
}
 
type CodeAuto struct {
    PrefixMethod int32  `json:"prefixMethod"`
    PrefixValue  string `json:"prefixValue"`
    SuffixMethod int32  `json:"suffixMethod"`
    AutoLength   int32  `json:"autoLength"`
    Desc         string `json:"desc"`
}