using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
namespace IStation.Model
{
///
/// /
///
public class InspectRecordDetail : ICloneable
{
///
///
///
public InspectRecordDetail() { }
///
///
///
///
public InspectRecordDetail(InspectRecordDetail rhs)
{
this.ID = rhs.ID;
this.RecordID = rhs.RecordID;
this.ContentID = rhs.ContentID;
this.Value = rhs.Value;
this.Status = rhs.Status;
this.Time = rhs.Time;
this.Handle = rhs.Handle;
}
///
///
///
public enum eStatus
{
///
///
///
未输入=0,
///
///
///
正常=1,
///
///
///
隐患=2
}
///
///
///
public enum eHandle
{
///
/// /
///
无=0,
///
///
///
隐患已消除=1,
///
///
///
报修=2
}
#region Model
///
/// ID
///
public long ID
{
get { return _id; }
set { _id = value; }
}
private long _id;
///
/// RecordID
///
public long RecordID
{
get { return _recordid; }
set { _recordid = value; }
}
private long _recordid;
///
/// ContentID
///
public long ContentID
{
get { return _contentid; }
set { _contentid = value; }
}
private long _contentid;
///
/// Value
///
public string Value
{
get { return _value; }
set { _value = value; }
}
private string _value;
///
/// Status
///
public int Status
{
get { return _status; }
set { _status = value; }
}
private int _status;
///
/// Time
///
public DateTime Time
{
get { return _time; }
set { _time = value; }
}
private DateTime _time;
///
/// Status
///
public eHandle Handle
{
get { return _handle; }
set { _handle = value; }
}
private eHandle _handle;
#endregion Model
#region Clone
///
///
///
///
public InspectRecordDetail Clone()
{
return new InspectRecordDetail(this);
}
///
///
///
///
object ICloneable.Clone()
{
return this.Clone();
}
#endregion Clone
}
}