using System.Collections.ObjectModel; namespace PdmSwPlugin.Common.Entity { public class PartSpec : NotifyBase { private string _id; public string id { get { return _id; } set { _id = value; } } private string _businesstypeId; public string businesstypeId { get { return _businesstypeId; } set { _businesstypeId = value; } } private string _name; public string name { get { return _name; } set { _name = value; } } private string _value; public string value { get { return _value; } set => RaiseAndSetIfChanged(ref _value, value); } private string _unit; public string unit { get { return _unit; } set { _unit = value; } } public string _type; public string type { get => _type; set { _type = value; } } private string _json; public string json { get { return _json; } set { _json = value; } } private ObservableCollection _valueList; public ObservableCollection valueList { get => _valueList; set => RaiseAndSetIfChanged(ref _valueList, value); } } }