using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 报警等级项
///
[SugarTable("alarm_level")]
public class AlarmLevel : CorpEntity, System.ICloneable
{
///
///
///
public AlarmLevel() { }
///
///
///
public AlarmLevel(AlarmLevel rhs) : base(rhs)
{
this.Name = rhs.Name;
this.Color = rhs.Color;
this.Grade = rhs.Grade;
this.Description = rhs.Description;
}
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 颜色
///
public string Color
{
get { return _color; }
set { _color = value; }
}
private string _color;
///
/// 报警等级
///
public int Grade
{
get { return _grade; }
set { _grade = value; }
}
private int _grade;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public AlarmLevel Clone()
{
return (AlarmLevel)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}