using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 设备
|
/// </summary>
|
public partial class Product : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public Product() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public Product(Product rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.ParentIds = rhs.ParentIds?.ToList();
|
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.StartUseDay = rhs.StartUseDay;
|
this.SameMark = rhs.SameMark;
|
this.RealImage = rhs.RealImage;
|
this.SiteImage = rhs.SiteImage;
|
this.Model3DViewUrl = rhs.Model3DViewUrl;
|
this.ExplosionImage = rhs.ExplosionImage;
|
this.Address = rhs.Address;
|
this.InspectionSchedule = rhs.InspectionSchedule;
|
this.PropsParas = rhs.PropsParas;
|
this.RatedParas = rhs.RatedParas;
|
this.TerminalId = rhs.TerminalId;
|
this.TagName = rhs.TagName;
|
this.UseStatus = rhs.UseStatus;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(Product rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.ParentIds = rhs.ParentIds?.ToList();
|
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.StartUseDay = rhs.StartUseDay;
|
this.SameMark = rhs.SameMark;
|
this.RealImage = rhs.RealImage;
|
this.SiteImage = rhs.SiteImage;
|
this.Model3DViewUrl = rhs.Model3DViewUrl;
|
this.ExplosionImage = rhs.ExplosionImage;
|
this.Address = rhs.Address;
|
this.InspectionSchedule = rhs.InspectionSchedule;
|
this.PropsParas = rhs.PropsParas;
|
this.RatedParas = rhs.RatedParas;
|
this.TerminalId = rhs.TerminalId;
|
this.TagName = rhs.TagName;
|
this.UseStatus = rhs.UseStatus;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 客户标识
|
/// </summary>
|
public long CorpID { get; set; }
|
|
/// <summary>
|
/// 父节点标识
|
/// </summary>
|
public List<long> ParentIds { get; set; }
|
|
/// <summary>
|
/// 所属类型
|
/// </summary>
|
public string BelongType { get; set; }
|
|
/// <summary>
|
/// 所属标识
|
/// </summary>
|
public long BelongID { get; set; }
|
|
/// <summary>
|
/// 组标识
|
/// </summary>
|
public long GroupID { get; set; }
|
|
/// <summary>
|
/// 类别标识
|
/// </summary>
|
public string Catalog { get; set; }
|
|
/// <summary>
|
/// 设备类型标识
|
/// </summary>
|
public long ProductTypeID { get; set; }
|
|
/// <summary>
|
/// 编码
|
/// </summary>
|
public string NO { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 型号
|
/// </summary>
|
public string Code { get; set; }
|
|
/// <summary>
|
/// 规格
|
/// </summary>
|
public string Specification { get; set; }
|
|
/// <summary>
|
/// 材质
|
/// </summary>
|
public string Material { get; set; }
|
|
/// <summary>
|
/// 尺寸
|
/// </summary>
|
public string Size { get; set; }
|
|
/// <summary>
|
/// 单位
|
/// </summary>
|
public string UnitName { get; set; }
|
|
/// <summary>
|
/// 数量
|
/// </summary>
|
public double Quantity { get; set; }
|
|
/// <summary>
|
/// 厂商
|
/// </summary>
|
public long ManufacturerID { get; set; }
|
|
/// <summary>
|
/// 出厂编号
|
/// </summary>
|
public string ManufacturerNO { get; set; }
|
|
/// <summary>
|
/// 出场日期
|
/// </summary>
|
public string ManufacturerDay { get; set; }
|
|
/// <summary>
|
/// 合同编号
|
/// </summary>
|
public string ContractNO { get; set; }
|
|
/// <summary>
|
/// 存储位置
|
/// </summary>
|
public string StorageLocation { get; set; }
|
|
/// <summary>
|
/// 开始使用日期
|
/// </summary>
|
public DateTime? StartUseDay { get; set; }
|
|
/// <summary>
|
/// 同类标识
|
/// </summary>
|
public string SameMark { get; set; }
|
|
/// <summary>
|
/// 实物图
|
/// </summary>
|
public string RealImage { get; set; }
|
|
/// <summary>
|
/// 现场图片
|
/// </summary>
|
public string SiteImage { get; set; }
|
|
/// <summary>
|
/// 三维图 路径
|
/// </summary>
|
public string Model3DViewUrl { get; set; }
|
|
/// <summary>
|
/// 爆炸图
|
/// </summary>
|
public string ExplosionImage { get; set; }
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
public string Address { get; set; }
|
|
/// <summary>
|
/// 巡检周期
|
/// </summary>
|
public eInspectionSchedule InspectionSchedule { get; set; }
|
|
/// <summary>
|
/// 附加属性
|
/// </summary>
|
public Dictionary<long,string> PropsParas { get; set; }
|
|
/// <summary>
|
/// 额定参数
|
/// </summary>
|
public string RatedParas { get; set; }
|
|
/// <summary>
|
/// 终端标识
|
/// </summary>
|
public string TerminalId { get; set; }
|
|
/// <summary>
|
/// 标签
|
/// </summary>
|
public string TagName { get; set; }
|
|
/// <summary>
|
/// 使用状态
|
/// </summary>
|
public eUseStatus UseStatus { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
/// 创建用户标识
|
/// </summary>
|
public long CreateUserID { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
public DateTime CreateTime { get; set; }
|
|
/// <summary>
|
/// 更新用户标识
|
/// </summary>
|
public long? UpdateUserID { get; set; }
|
|
/// <summary>
|
/// 更新时间
|
/// </summary>
|
public DateTime? UpdateTime { get; set; }
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public Product Clone()
|
{
|
return (Product)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|