using Yw.Entity;
namespace HStation.Entity
{
///
/// 方案
///
[SysType("xhs-scheme")]
[SysPropValueTable("xhs_scheme_prop_value")]
[SugarTable("xhs_scheme")]
public class XhsScheme : BaseEntity, IParas, IFlags, ISorter, IUseStatus, System.ICloneable
{
///
///
///
public XhsScheme() { }
///
///
///
public XhsScheme(XhsScheme rhs) : base(rhs)
{
this.SiteID = rhs.SiteID;
this.NO = rhs.NO;
this.Name = rhs.Name;
this.ChangeTypes = rhs.ChangeTypes;
this.AllowCustom = rhs.AllowCustom;
this.Paras = rhs.Paras;
this.Flags = rhs.Flags;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 项目站id
///
public long SiteID { get; set; }
///
/// 编号
///
[SugarColumn(Length = 100, IsNullable = true)]
public string NO { get; set; }
///
/// 名称
///
[SugarColumn(Length = 50, IsNullable = true)]
public string Name { get; set; }
///
/// 改造类型
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string ChangeTypes { get; set; }
///
/// 自定义
///
public bool AllowCustom { get; set; }
///
/// 参数
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Paras { get; set; }
///
/// 标签
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Flags { get; set; }
///
/// 使用状态
///
public int UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Description { get; set; }
///
///
///
public XhsScheme Clone()
{
return (XhsScheme)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}