using Newtonsoft.Json;
|
using System;
|
using System.Collections.ObjectModel;
|
|
namespace PdmSwPlugin.Common.Entity
|
{
|
[Serializable]
|
public class PdmPart : NotifyBase
|
{
|
private string _id;
|
[JsonProperty("id")]
|
public string id
|
{
|
get => _id;
|
set => RaiseAndSetIfChanged(ref _id, value);
|
}
|
|
private string _partNo;
|
[JsonProperty("partNo")]
|
public string partNo
|
{
|
get => _partNo;
|
set => RaiseAndSetIfChanged(ref _partNo, value);
|
}
|
|
private string _partName;
|
[JsonProperty("partName")]
|
public string partName
|
{
|
get => _partName;
|
set => RaiseAndSetIfChanged(ref _partName, value);
|
}
|
|
private string _partModel;
|
[JsonProperty("partModel")]
|
public string partModel
|
{
|
get => _partModel;
|
set => RaiseAndSetIfChanged(ref _partModel, value);
|
}
|
|
private string _partBrandName;
|
[JsonProperty("partBrandName")]
|
public string partBrandName
|
{
|
get => _partBrandName;
|
set => RaiseAndSetIfChanged(ref _partBrandName, value);
|
}
|
|
private string _partBussinesstype;
|
[JsonProperty("partBussinesstype")]
|
public string partBussinesstype
|
{
|
get => _partBussinesstype;
|
set => RaiseAndSetIfChanged(ref _partBussinesstype, value);
|
}
|
|
private string _partBussinesstypeName;
|
[JsonProperty("partBussinesstypeName")]
|
public string partBussinesstypeName
|
{
|
get => _partBussinesstypeName;
|
set => RaiseAndSetIfChanged(ref _partBussinesstypeName, value);
|
}
|
|
private string _drawingPath;
|
[JsonProperty("drawingPath")]
|
public string drawingPath
|
{
|
get => _drawingPath;
|
set => RaiseAndSetIfChanged(ref _drawingPath, value);
|
}
|
|
private string _md5;
|
[JsonProperty("md5")]
|
public string md5
|
{
|
get => _md5;
|
set => RaiseAndSetIfChanged(ref _md5, value);
|
}
|
|
private string _order;
|
[JsonProperty("order")]
|
public string order
|
{
|
get => _order;
|
set => RaiseAndSetIfChanged(ref _order, value);
|
}
|
|
private string _column;
|
[JsonProperty("column")]
|
public string column
|
{
|
get => _column;
|
set => RaiseAndSetIfChanged(ref _column, value);
|
}
|
|
private ObservableCollection<PartSpec> _specs;
|
|
[JsonProperty("specs")]
|
public ObservableCollection<PartSpec> specs
|
{
|
get { return _specs; }
|
set => RaiseAndSetIfChanged(ref _specs, value);
|
}
|
|
}
|
}
|