duheng
2024-06-08 8c0d9657f6737dd56c5751c489a825b7838678d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Hydro.Core.ObjectEnum;
 
namespace Hydro.Core.Model
{
    [Serializable]
    public abstract class BaseModel
    {
        public BaseModel() { }
 
        public BaseModel(BaseModel model)
        {
            this.ID = model.ID;
            this.Name = model.Name;
            this.Status = model.Status;
        }
        public virtual string ID { get; set; }
        public virtual string Name { get; set; }
 
        public virtual StatusType Status { get; set; } = StatusType.OPEN;
 
        [Category("基本信息")]
        [Description("楼层")]
        [DisplayName("楼层")]
        public virtual string Floor { get; set; }
 
 
 
    }
}