using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 设备
///
[SugarTable("product")]
public class Product : CorpTraceEntity, System.ICloneable,ITreeSorter,IUseStatus,ITagName,ITerminalId
{
///
///
///
public Product() { }
///
///
///
public Product(Product rhs) : base(rhs)
{
this.ParentIds = rhs.ParentIds;
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.GroupID = rhs.GroupID;
this.Catalog = rhs.Catalog;
this.ProductTypeID = rhs.ProductTypeID;
this.NO=rhs.NO;
this.Name = rhs.Name;
this.Code = rhs.Code;
this.Specification = rhs.Specification;
this.Material = rhs.Material;
this.Size = rhs.Size;
this.UnitName = rhs.UnitName;
this.Quantity = rhs.Quantity;
this.ManufacturerID = rhs.ManufacturerID;
this.ManufacturerNO = rhs.ManufacturerNO;
this.ManufacturerDay = rhs.ManufacturerDay;
this.ContractNO = rhs.ContractNO;
this.StorageLocation = rhs.StorageLocation;
this.PropsParas = rhs.PropsParas;
this.RatedParas = rhs.RatedParas;
this.StartUseDay = rhs.StartUseDay;
this.SameMark = rhs.SameMark;
this.RealImage = rhs.RealImage;
this.SiteImage = rhs.SiteImage;
this.Model3DViewUrl = rhs.Model3DViewUrl;
this.ExplosionImage = rhs.ExplosionImage;
this.InspectionSchedule = rhs.InspectionSchedule;
this.Address = rhs.Address;
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 父节点标识
///
public string ParentIds
{
get { return _parentids; }
set { _parentids = value; }
}
private string _parentids;
///
/// 所属类型
///
public string BelongType
{
get { return _belongtype; }
set { _belongtype = value; }
}
private string _belongtype;
///
/// 所属标识
///
public long BelongID
{
get { return _belongid; }
set { _belongid = value; }
}
private long _belongid;
///
/// 组标识
///
public long GroupID
{
get { return _groupid; }
set { _groupid = value; }
}
private long _groupid;
///
/// 设备类别
///
public string Catalog
{
get { return _catalog; }
set { _catalog = value; }
}
private string _catalog;
///
/// 设备类型标识
///
public long ProductTypeID
{
get { return _producttypeid; }
set { _producttypeid = value; }
}
private long _producttypeid;
///
/// 编码
///
public string NO
{
get { return _no; }
set { _no = value; }
}
private string _no;
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 型号
///
public string Code
{
get { return _code; }
set { _code = value; }
}
private string _code;
///
/// 规格
///
public string Specification
{
get { return _specification; }
set { _specification = value; }
}
private string _specification;
///
/// 材质
///
public string Material
{
get { return _material; }
set { _material = value; }
}
private string _material;
///
/// 尺寸
///
public string Size
{
get { return _size; }
set { _size = value; }
}
private string _size;
///
/// 单位
///
public string UnitName
{
get { return _unitname; }
set { _unitname = value; }
}
private string _unitname;
///
/// 数量
///
public double Quantity
{
get { return _quantity; }
set { _quantity = value; }
}
private double _quantity = 1;
///
/// 厂商
///
public long ManufacturerID
{
get { return _manufacturerid; }
set { _manufacturerid = value; }
}
private long _manufacturerid;
///
/// 出厂编号
///
public string ManufacturerNO
{
get { return _manufacturerno; }
set { _manufacturerno = value; }
}
private string _manufacturerno;
///
/// 出场日期
///
public string ManufacturerDay
{
get { return _manufacturerday; }
set { _manufacturerday = value; }
}
private string _manufacturerday;
///
/// 合同编号
///
public string ContractNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _contractno;
///
/// 存储位置
///
public string StorageLocation
{
get { return _storagelocation; }
set { _storagelocation = value; }
}
private string _storagelocation;
///
/// 开始使用日期
///
public DateTime? StartUseDay
{
get { return _startuseday; }
set { _startuseday = value; }
}
private DateTime? _startuseday;
///
/// 同类标识
///
public string SameMark
{
get { return _samemark; }
set { _samemark = value; }
}
private string _samemark;
///
/// 实物图
///
public string RealImage
{
get { return _realimage; }
set { _realimage = value; }
}
private string _realimage;
///
/// 现场图片
///
public string SiteImage
{
get { return _siteimage; }
set { _siteimage = value; }
}
private string _siteimage;
///
/// 三维图 路径
///
public string Model3DViewUrl
{
get { return _model3dviewurl; }
set { _model3dviewurl = value; }
}
private string _model3dviewurl;
///
/// 爆炸图
///
public string ExplosionImage
{
get { return _explosionimage; }
set { _explosionimage = value; }
}
private string _explosionimage;
///
/// 地址
///
public string Address
{
get { return _address; }
set { _address = value; }
}
private string _address;
///
/// 巡检周期
///
public int InspectionSchedule
{
get { return _inspectionSchedule; }
set { _inspectionSchedule = value; }
}
private int _inspectionSchedule;
///
/// 附加属性
///
public string PropsParas
{
get { return _propsparas; }
set { _propsparas = value; }
}
private string _propsparas;
///
/// 额定参数
///
public string RatedParas
{
get { return _ratedparas; }
set { _ratedparas = value; }
}
private string _ratedparas;
///
/// 终端标识
///
public string TerminalId
{
get { return _terminalid; }
set { _terminalid = value; }
}
private string _terminalid;
///
/// 标签
///
public string TagName
{
get { return _tagname; }
set { _tagname = value; }
}
private string _tagname;
///
/// 使用状态
///
public int UseStatus
{
get { return _usestatus; }
set { _usestatus = value; }
}
private int _usestatus;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public Product Clone()
{
return (Product)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}