namespace OS.Spin.ViewModle.Models { public class DefectSpot { private string _defectType; //瑕疵类型 private string _defectLength; //瑕疵长度 private string _defectDeduct; //瑕疵扣分 /// ///无产构造函数 /// public DefectSpot() { } /// /// 有参构造函数 /// /// /// /// public DefectSpot(string defectType, string defectLength, string defectDeduct) { this._defectType = defectType; this._defectLength = defectLength; this._defectDeduct = defectDeduct; } /// /// 瑕疵类型 /// public string DefectType { get { return _defectType; } set { _defectType = value; } } /// /// 瑕疵长度 /// public string DefectLength { get { return _defectLength; } set { _defectLength = value; } } /// /// 瑕疵扣分 /// public string DefectDeduct { get { return _defectDeduct; } set { _defectDeduct = value; } } } }