Blame view

OS.Spin/OS.Spin.ViewModle/Models/DefectSpot.cs 1.53 KB
8ca6e89d   Tuo Wenbo   20211021
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
  namespace OS.Spin.ViewModle.Models
  {
      public class DefectSpot
      {
          private string _defectType;     //瑕疵类型
          private string _defectLength;   //瑕疵长度
          private string _defectDeduct;   //瑕疵扣分
  
          /// <summary>
          ///无产构造函数
          /// </summary>
          public DefectSpot() { }
  
          /// <summary>
          /// 有参构造函数
          /// </summary>
          /// <param name="defectType"></param>
          /// <param name="defectLength"></param>
          /// <param name="defectDeduct"></param>
          public DefectSpot(string defectType, string defectLength, string defectDeduct)
          {
              this._defectType = defectType;
              this._defectLength = defectLength;
              this._defectDeduct = defectDeduct;
          }
  
          /// <summary>
          /// 瑕疵类型
          /// </summary>
          public string DefectType
          {
              get { return _defectType; }
              set
              {
                  _defectType = value;
              }
          }
  
          /// <summary>
          /// 瑕疵长度
          /// </summary>
          public string DefectLength
          {
              get { return _defectLength; }
              set
              {
                  _defectLength = value;
              }
          }
  
          /// <summary>
          /// 瑕疵扣分
          /// </summary>
          public string DefectDeduct
          {
              get { return _defectDeduct; }
              set
              {
                  _defectDeduct = value;
              }
          }
      }
  }