lixiaojun
2024-08-13 a5c91970e4424faa5848d814d671a7534b900d69
Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,108 @@
using Yw.Entity;
namespace HStation.Entity
{
    /// <summary>
    /// é¡¹ç›®
    /// </summary>
    [SysType("xhs-project")]
    [SysPropValueTable("xhs_project_prop_value")]
    [SugarTable("xhs_project")]
    public class XhsProject : BaseEntity, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public XhsProject() { }
        /// <summary>
        ///
        /// </summary>
        public XhsProject(XhsProject rhs) : base(rhs)
        {
            this.ParentIds = rhs.ParentIds;
            this.NO = rhs.NO;
            this.Name = rhs.Name;
            this.Address = rhs.Address;
            this.Customer = rhs.Customer;
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
        /// <summary>
        /// çˆ¶çº§id列表(版本控制)
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string ParentIds { get; set; }
        /// <summary>
        /// ç¼–号
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = true)]
        public string NO { get; set; }
        /// <summary>
        /// åç§°
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Name { get; set; }
        /// <summary>
        /// è¯¦ç»†åœ°å€
        /// </summary>
        [SugarColumn(Length = 250, IsNullable = true)]
        public string Address { get; set; }
        /// <summary>
        /// å®¢æˆ·
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Customer { get; set; }
        /// <summary>
        /// å‚æ•°
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Paras { get; set; }
        /// <summary>
        /// æ ‡ç­¾
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Flags { get; set; }
        /// <summary>
        /// æ ‡å¿—
        /// </summary>
        [SugarColumn(Length = 500, IsNullable = true)]
        public string TagName { get; set; }
        /// <summary>
        /// æŽ’序码
        /// </summary>
        public int SortCode { get; set; }
        /// <summary>
        /// è¯´æ˜Ž
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Description { get; set; }
        /// <summary>
        ///
        /// </summary>
        public XhsProject Clone()
        {
            return (XhsProject)this.MemberwiseClone();
        }
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
}