yzh
2022-06-30 ba73ec7987459b7bc5710798e8b4989cfe0e13a2
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
 
using System;
 
namespace Model
{
  public class GwStrategy
  {
    private int _strategyId;
    private string _strategyName;
    private string _wordList;
    private string _PatternList;
 
    public int StrategyId
    {
      get
      {
        return this._strategyId;
      }
      set
      {
        this._strategyId = value;
      }
    }
 
    public string StrategyName
    {
      get
      {
        return this._strategyName;
      }
      set
      {
        this._strategyName = value;
      }
    }
 
    public string WordList
    {
      get
      {
        return this._wordList;
      }
      set
      {
        if (value == null)
          value = string.Empty;
        this._wordList = string.Join("\n", value.Split(",;;\r\n\t".ToCharArray(), StringSplitOptions.RemoveEmptyEntries));
      }
    }
 
    public string PatternList
    {
      get
      {
        return this._PatternList;
      }
      set
      {
        if (value == null)
          value = string.Empty;
        this._PatternList = string.Join("\n", value.Split(",;;\r\n\t".ToCharArray(), StringSplitOptions.RemoveEmptyEntries));
      }
    }
  }
}