qinjie
2023-12-02 c2fa168aff53d879f72412c94baa7be4998dae5e
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Hydro.Core.ObjectEnum;
 
namespace Hydro.Core.Model
{
    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;
 
    }
}