FileSqlServerSync/Server/Common/Message.cs

29 lines
443 B
C#

namespace Common;
public enum SyncMsgType
{
Error = 0,
General = 1,
Process = 2,
// DirFilePack = 3
}
public enum SyncProcessStep
{
Connect = 1,
DeployProject = 2,
DiffFileAndPack = 3,
PackSqlServer = 4,
UploadAndUnpack = 5,
Publish = 6
}
public class SyncMsg
{
public SyncMsgType Type { get; set; }
public SyncProcessStep Step { get; set; }
public required string Body { get; set; }
}