From c52617d9e8fb2540b62a4510e12e888487d305e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=98=BF=E7=8E=89?= <阿玉@DESKTOP-BQBSOTG>
Date: Tue, 20 Feb 2024 03:43:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=B1=BB=E5=BA=93=EF=BC=9ACo?=
=?UTF-8?q?mmon.Core?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
EOM.TSHotelManager.Common.Core/BaseDTO.cs | 33 +++++
.../Business/Cash/Cash.cs | 83 +++++++++++
.../Business/Customer/Custo.cs | 106 ++++++++++++++
.../Business/Customer/CustoSpend.cs | 42 ++++++
.../Business/Customer/CustoType.cs | 48 ++++++
.../Business/Customer/PassPortType.cs | 53 +++++++
.../Business/Customer/SexType.cs | 54 +++++++
.../Business/Fonts/Fonts.cs | 43 ++++++
.../Business/Reser/Reser.cs | 69 +++++++++
.../Business/Room/Room.cs | 112 ++++++++++++++
.../Business/Room/RoomState.cs | 49 +++++++
.../Business/Room/RoomType.cs | 62 ++++++++
.../Business/Sellthing/SellThing.cs | 66 +++++++++
.../Business/Spend/Spend.cs | 87 +++++++++++
.../Business/Spend/SpendConsts.cs | 48 ++++++
.../Business/Wti/Wti.cs | 83 +++++++++++
.../EOM.TSHotelManager.Common.Core.csproj | 11 ++
.../Sys/NavBar/NavBar.cs | 45 ++++++
.../Util/ApplicationVersion.cs | 28 ++++
.../Util/Cardcodes.cs | 52 +++++++
.../Util/OperationLog.cs | 99 +++++++++++++
.../Worker/GBType.cs | 51 +++++++
.../Worker/Worker.cs | 137 ++++++++++++++++++
.../Worker/WorkerCheck.cs | 68 +++++++++
.../Worker/WorkerGoodBad.cs | 79 ++++++++++
.../Worker/WorkerHistory.cs | 65 +++++++++
.../Worker/WorkerPic.cs | 33 +++++
EOM.TSHotelManager.Common.Core/Zero/Admin.cs | 101 +++++++++++++
.../Zero/AdminType.cs | 60 ++++++++
EOM.TSHotelManager.Common.Core/Zero/Base.cs | 49 +++++++
.../Zero/CheckInfo.cs | 69 +++++++++
EOM.TSHotelManager.Common.Core/Zero/Dept.cs | 86 +++++++++++
.../Zero/Education.cs | 53 +++++++
EOM.TSHotelManager.Common.Core/Zero/Module.cs | 35 +++++
.../Zero/ModuleConsts.cs | 79 ++++++++++
.../Zero/ModuleZero.cs | 37 +++++
EOM.TSHotelManager.Common.Core/Zero/Nation.cs | 53 +++++++
EOM.TSHotelManager.Common.Core/Zero/Notice.cs | 77 ++++++++++
.../Zero/VipRule.cs | 75 ++++++++++
.../Zero/position.cs | 53 +++++++
EOM.TSHotelManager.Web.sln | 6 +
EOM.TSHotelManager.WebApi/appsettings.json | 2 +-
42 files changed, 2540 insertions(+), 1 deletion(-)
create mode 100644 EOM.TSHotelManager.Common.Core/BaseDTO.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Cash/Cash.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Customer/Custo.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Customer/CustoSpend.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Customer/CustoType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Customer/PassPortType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Customer/SexType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Fonts/Fonts.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Reser/Reser.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Room/Room.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Room/RoomState.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Room/RoomType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Sellthing/SellThing.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Spend/Spend.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Spend/SpendConsts.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Business/Wti/Wti.cs
create mode 100644 EOM.TSHotelManager.Common.Core/EOM.TSHotelManager.Common.Core.csproj
create mode 100644 EOM.TSHotelManager.Common.Core/Sys/NavBar/NavBar.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Util/ApplicationVersion.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Util/Cardcodes.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Util/OperationLog.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/GBType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/Worker.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/WorkerCheck.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/WorkerGoodBad.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/WorkerHistory.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Worker/WorkerPic.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Admin.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/AdminType.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Base.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/CheckInfo.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Dept.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Education.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Module.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/ModuleConsts.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/ModuleZero.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Nation.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/Notice.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/VipRule.cs
create mode 100644 EOM.TSHotelManager.Common.Core/Zero/position.cs
diff --git a/EOM.TSHotelManager.Common.Core/BaseDTO.cs b/EOM.TSHotelManager.Common.Core/BaseDTO.cs
new file mode 100644
index 0000000..b10f82d
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/BaseDTO.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ public class BaseDTO
+ {
+ ///
+ /// 资料创建人
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreUpdate = true)]
+ public string datains_usr { get; set; }
+ ///
+ /// 资料创建时间
+ ///
+ [SqlSugar.SugarColumn(/*InsertServerTime = true,*/ IsOnlyIgnoreUpdate = true)]
+ public DateTime? datains_date { get; set; }
+ ///
+ /// 资料更新人
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreInsert = true)]
+ public string datachg_usr { get; set; }
+ ///
+ /// 资料更新时间
+ ///
+ [SqlSugar.SugarColumn(/*UpdateServerTime = true,*/IsOnlyIgnoreInsert = true)]
+ public DateTime? datachg_date { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Cash/Cash.cs b/EOM.TSHotelManager.Common.Core/Business/Cash/Cash.cs
new file mode 100644
index 0000000..2184fa3
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Cash/Cash.cs
@@ -0,0 +1,83 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:资产类
+ */
+using System;
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 资产管理
+ ///
+ [SqlSugar.SugarTable("cashinfo")]
+ public class Cash : BaseDTO
+ {
+ ///
+ /// 资产编号
+ ///
+ public string CashNo { get; set; }
+ ///
+ /// 资产名称
+ ///
+ public string CashName { get; set; }
+ ///
+ /// 资产总值
+ ///
+ public decimal CashPrice { get; set; }
+ ///
+ /// 资产总值描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string CashPriceStr { get; set; }
+ ///
+ /// 所属部门
+ ///
+ public string CashClub { get; set; }
+ ///
+ /// 所属部门描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string DeptName { get; set; }
+ ///
+ /// 入库时间
+ ///
+ public DateTime CashTime { get; set; }
+ ///
+ /// 资产来源
+ ///
+ public string CashSource { get; set; }
+ ///
+ /// 资产经办人
+ ///
+ public string CashPerson { get; set; }
+ ///
+ /// 资产经办人
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string PersonName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Customer/Custo.cs b/EOM.TSHotelManager.Common.Core/Business/Customer/Custo.cs
new file mode 100644
index 0000000..fdb4dd1
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Customer/Custo.cs
@@ -0,0 +1,106 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:客户信息类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 客户信息
+ ///
+ [SqlSugar.SugarTable("customer")]
+ public class Custo : BaseDTO
+ {
+ ///
+ /// 自增ID
+ ///
+ //[SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true,IsIdentity = true)]
+ //public int Id { get; set; }
+ ///
+ /// 客户编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_no", IsPrimaryKey = true)]
+ public string CustoNo { get; set; }
+ ///
+ /// 客户名称
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_name", IsNullable = false)]
+ public string CustoName { get; set; }
+ ///
+ /// 客户性别
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_sex", IsNullable = true)]
+ public int CustoSex { get; set; }
+ ///
+ /// 客户电话
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_tel", IsNullable = false)]
+ public string CustoTel { get; set; }
+ ///
+ /// 证件类型
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "passport_type", IsNullable = false)]
+ public int PassportType { get; set; }
+ ///
+ /// 证件号码
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "passport_id", IsNullable = false)]
+ public string CustoID { get; set; }
+ ///
+ /// 居住地址
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_address", IsNullable = true)]
+ public string CustoAdress { get; set; }
+ ///
+ /// 出生日期
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_birth", IsNullable = true)]
+ public DateTime CustoBirth { get; set; }
+ ///
+ /// 客户类型
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_type", IsNullable = false)]
+ public int CustoType { get; set; }
+ ///
+ /// 客户类型
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string typeName { get; set; }
+ ///
+ /// 证件类型
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string PassportName { get; set; }
+ ///
+ /// 性别
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string SexName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Customer/CustoSpend.cs b/EOM.TSHotelManager.Common.Core/Business/Customer/CustoSpend.cs
new file mode 100644
index 0000000..f83b28d
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Customer/CustoSpend.cs
@@ -0,0 +1,42 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:酒店盈利情况类
+ */
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 酒店盈利情况
+ ///
+ public class CustoSpend
+ {
+ ///
+ /// 年
+ ///
+ public string Years { get; set; }
+ ///
+ /// 总金额
+ ///
+ public decimal Money { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Customer/CustoType.cs b/EOM.TSHotelManager.Common.Core/Business/Customer/CustoType.cs
new file mode 100644
index 0000000..a566445
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Customer/CustoType.cs
@@ -0,0 +1,48 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:客户类型类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 客户类型
+ ///
+ [SqlSugar.SugarTable("usertype")]
+ public class CustoType : BaseDTO
+ {
+ ///
+ /// 客户类型
+ ///
+ public int UserType { get; set; }
+ ///
+ /// 类型名字
+ ///
+ public string TypeName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Customer/PassPortType.cs b/EOM.TSHotelManager.Common.Core/Business/Customer/PassPortType.cs
new file mode 100644
index 0000000..7d0a5ca
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Customer/PassPortType.cs
@@ -0,0 +1,53 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:证件类型类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 证件类型
+ ///
+ [SqlSugar.SugarTable("passporttype")]
+ public class PassPortType : BaseDTO
+ {
+ ///
+ /// 证件类型
+ ///
+ public int PassportId { get; set; }
+
+ ///
+ /// 证件名称
+ ///
+ public string PassportName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Customer/SexType.cs b/EOM.TSHotelManager.Common.Core/Business/Customer/SexType.cs
new file mode 100644
index 0000000..e78a48d
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Customer/SexType.cs
@@ -0,0 +1,54 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:性别类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 性别
+ ///
+ [SqlSugar.SugarTable("sextype")]
+ public class SexType : BaseDTO
+ {
+ ///
+ /// 性别ID
+ ///
+ public int sexId { get; set; }
+
+ ///
+ /// 性别名称
+ ///
+ public string sexName { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int? delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Fonts/Fonts.cs b/EOM.TSHotelManager.Common.Core/Business/Fonts/Fonts.cs
new file mode 100644
index 0000000..2c7aa9a
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Fonts/Fonts.cs
@@ -0,0 +1,43 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:宣传联动类
+ */
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 酒店宣传联动内容
+ ///
+ [SqlSugar.SugarTable("fonts")]
+ public class Fonts
+ {
+ ///
+ /// 宣传内容编号
+ ///
+ public int FontsId { get; set; }
+
+ ///
+ /// 宣传内容
+ ///
+ public string FontsMess { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Reser/Reser.cs b/EOM.TSHotelManager.Common.Core/Business/Reser/Reser.cs
new file mode 100644
index 0000000..79bd68d
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Reser/Reser.cs
@@ -0,0 +1,69 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:预约类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 预约列表
+ ///
+ [SqlSugar.SugarTable("reser")]
+ public class Reser : BaseDTO
+ {
+ ///
+ /// 预约编号
+ ///
+ public string ReserId { get; set; }
+ ///
+ /// 客户名称
+ ///
+ public string CustoName { get; set; }
+ ///
+ /// 预约电话
+ ///
+ public string CustoTel { get; set; }
+ ///
+ /// 预约渠道
+ ///
+ public string ReserWay { get; set; }
+ ///
+ /// 预约房号
+ ///
+ public string ReserRoom { get; set; }
+ ///
+ /// 预约起始
+ ///
+ public DateTime ReserDate { get; set; }
+ ///
+ /// 预约止日
+ ///
+ public DateTime ReserEndDay { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Room/Room.cs b/EOM.TSHotelManager.Common.Core/Business/Room/Room.cs
new file mode 100644
index 0000000..09fb47e
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Room/Room.cs
@@ -0,0 +1,112 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间类
+ */
+using System;
+//using System.ComponentModel.DataAnnotations.Schema;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 房间实体类
+ ///
+ [SqlSugar.SugarTable("room")]
+ public class Room : BaseDTO
+ {
+ ///
+ /// 房间编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_no", IsPrimaryKey = true)]
+ public string RoomNo { get; set; }
+ ///
+ /// 房间类型
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_type")]
+ public int RoomType { get; set; }
+ ///
+ /// 客户编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "custo_no")]
+ public string CustoNo { get; set; }
+ ///
+ /// 客户姓名
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string CustoName { get; set; }
+ ///
+ /// 最后一次入住时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "check_in_time")]
+ public DateTime? CheckTime { get; set; }
+ ///
+ /// 最后一次退房时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "check_out_time")]
+ public DateTime CheckOutTime { get; set; }
+ ///
+ /// 房间状态ID
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_state_id")]
+ public int RoomStateId { get; set; }
+ ///
+ /// 房间状态
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string RoomState { get; set; }
+ ///
+ /// 房间单价
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_rent")]
+ public decimal RoomMoney { get; set; }
+ ///
+ /// 房间押金
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_deposit")]
+ public decimal RoomDeposit { get; set; }
+ ///
+ /// 房间位置
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_position")]
+ public string RoomPosition { get; set; }
+ ///
+ /// 客户类型名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string typeName { get; set; }
+ ///
+ /// 房间名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string RoomName { get; set; }
+ ///
+ /// 最后一次入住时间
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string CheckTimeFormat { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Room/RoomState.cs b/EOM.TSHotelManager.Common.Core/Business/Room/RoomState.cs
new file mode 100644
index 0000000..2ad589f
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Room/RoomState.cs
@@ -0,0 +1,49 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间状态类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 房间状态
+ ///
+ [SqlSugar.SugarTable("roomstate")]
+ public class RoomState : BaseDTO
+ {
+ ///
+ /// 房间状态编号
+ ///
+ public int RoomStateId { get; set; }
+ ///
+ /// 房间状态
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "RoomState")]
+ public string RoomStateName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Room/RoomType.cs b/EOM.TSHotelManager.Common.Core/Business/Room/RoomType.cs
new file mode 100644
index 0000000..40a1759
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Room/RoomType.cs
@@ -0,0 +1,62 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间类型类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 房间类型
+ ///
+ [SqlSugar.SugarTable("roomtype")]
+ public class RoomType: BaseDTO
+ {
+ ///
+ /// 类型编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "RoomType")]
+ public int Roomtype { get; set; }
+ ///
+ /// 房间类型
+ ///
+ public string RoomName { get; set; }
+
+ ///
+ /// 房间租金
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_rent",ColumnDataType = "decimal")]
+ public decimal RoomRent { get; set; }
+
+ ///
+ /// 房间押金
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "room_deposit")]
+ public decimal RoomDeposit { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Sellthing/SellThing.cs b/EOM.TSHotelManager.Common.Core/Business/Sellthing/SellThing.cs
new file mode 100644
index 0000000..7bb7b96
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Sellthing/SellThing.cs
@@ -0,0 +1,66 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:商品信息类
+ */
+using System;
+//using System.ComponentModel.DataAnnotations.Schema;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 商品信息
+ ///
+ [SqlSugar.SugarTable("sellthing")]
+ public class SellThing : BaseDTO
+ {
+ ///
+ /// 商品编号
+ ///
+ public string SellNo { get; set; }
+ ///
+ /// 商品名称
+ ///
+ public string SellName { get; set; }
+ ///
+ /// 商品价格
+ ///
+ public decimal SellPrice { get; set; }
+ ///
+ /// 商品价格描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string SellPriceStr { get; set; }
+ ///
+ /// 规格型号
+ ///
+ public string format { get; set; }
+ ///
+ /// 库存
+ ///
+ public decimal Stock { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Spend/Spend.cs b/EOM.TSHotelManager.Common.Core/Business/Spend/Spend.cs
new file mode 100644
index 0000000..fcc716c
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Spend/Spend.cs
@@ -0,0 +1,87 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:消费信息类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 消费信息
+ ///
+ [SqlSugar.SugarTable("custospend")]
+ public class Spend : BaseDTO
+ {
+ ///
+ /// 房间编号
+ ///
+ public string RoomNo { get; set; }
+ ///
+ /// 客户编号
+ ///
+ public string CustoNo { get; set; }
+ ///
+ /// 商品名称
+ ///
+ public string SpendName { get; set; }
+ ///
+ /// 消费数量
+ ///
+ public int SpendAmount { get; set; }
+ ///
+ /// 商品单价
+ ///
+ public decimal SpendPrice { get; set; }
+ ///
+ /// 商品单价描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string SpendPriceStr { get; set; }
+ ///
+ /// 消费金额
+ ///
+ public decimal SpendMoney { get; set; }
+ ///
+ /// 消费金额描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string SpendMoneyStr { get; set; }
+ ///
+ /// 消费时间
+ ///
+ public DateTime SpendTime { get; set; }
+ ///
+ /// 结算状态
+ ///
+ public string MoneyState { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ ///
+ /// 结算状态描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string SpendStateNm { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Spend/SpendConsts.cs b/EOM.TSHotelManager.Common.Core/Business/Spend/SpendConsts.cs
new file mode 100644
index 0000000..b92d514
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Spend/SpendConsts.cs
@@ -0,0 +1,48 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:结算状态常量
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 结算状态常量
+ ///
+ public class SpendConsts
+ {
+ ///
+ /// 已结算状态常量
+ ///
+ public const string Settled = "Settled";
+
+ ///
+ /// 未结算状态常量
+ ///
+ public const string UnSettle = "UnSettle";
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Business/Wti/Wti.cs b/EOM.TSHotelManager.Common.Core/Business/Wti/Wti.cs
new file mode 100644
index 0000000..0175d98
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Business/Wti/Wti.cs
@@ -0,0 +1,83 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:水电信息类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 水电信息
+ ///
+ [SqlSugar.SugarTable("wtinfo")]
+ public class Wti : BaseDTO
+ {
+ ///
+ /// 信息编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WtiNo",IsIdentity =true,IsPrimaryKey =true)]
+ public int WtiNo { get; set; }
+ ///
+ /// 房间编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "RoomNo")]
+ public string RoomNo { get; set; }
+ ///
+ /// 开始使用时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "UseDate")]
+ public DateTime UseDate { get; set; }
+ ///
+ /// 结束使用时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "EndDate")]
+ public DateTime EndDate { get; set; }
+ ///
+ /// 水费
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WaterUse")]
+ public decimal WaterUse { get; set; }
+ ///
+ /// 电费
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "PowerUse")]
+ public decimal PowerUse { get; set; }
+ ///
+ /// 记录员
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "Record",DefaultValue = "Admin")]
+ public string Record { get; set; }
+ ///
+ /// 客户编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "CustoNo")]
+ public string CustoNo { get; set; }
+ ///
+ /// 删除标记
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "delete_mk")]
+ public int delete_mk { get; set; }
+
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/EOM.TSHotelManager.Common.Core.csproj b/EOM.TSHotelManager.Common.Core/EOM.TSHotelManager.Common.Core.csproj
new file mode 100644
index 0000000..d3af5a1
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/EOM.TSHotelManager.Common.Core.csproj
@@ -0,0 +1,11 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
diff --git a/EOM.TSHotelManager.Common.Core/Sys/NavBar/NavBar.cs b/EOM.TSHotelManager.Common.Core/Sys/NavBar/NavBar.cs
new file mode 100644
index 0000000..7211388
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Sys/NavBar/NavBar.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 导航控件实体类
+ ///
+ [SqlSugar.SugarTable("nav_bar")]
+ public class NavBar : BaseDTO
+ {
+ ///
+ /// 导航控件ID
+ ///
+ [SqlSugar.SugarColumn(IsIdentity =true)]
+ public int nav_id { get; set; }
+ ///
+ /// 导航控件名称
+ ///
+ public string nav_name { get; set; }
+ ///
+ /// 导航控件排序
+ ///
+ public int nav_or { get; set; }
+ ///
+ /// 导航控件图片
+ ///
+ public string nav_pic { get; set; }
+ ///
+ /// 导航控件事件
+ ///
+ public string nav_event { get; set; }
+ ///
+ /// 导航控件事件
+ ///
+ public int margin_left { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Util/ApplicationVersion.cs b/EOM.TSHotelManager.Common.Core/Util/ApplicationVersion.cs
new file mode 100644
index 0000000..9953177
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Util/ApplicationVersion.cs
@@ -0,0 +1,28 @@
+using SqlSugar;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 应用版本
+ ///
+ [SqlSugar.SugarTable("applicationversion")]
+ public class Applicationversion
+ {
+ ///
+ /// 流水号
+ ///
+ [SugarColumn(ColumnName = "base_versionId")]//数据库是自增才配自增
+ public int base_versionId { get; set; }
+
+ ///
+ /// 版本号
+ ///
+ [SugarColumn(ColumnName = "base_version")]//数据库是自增才配自增
+ public string base_version { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Util/Cardcodes.cs b/EOM.TSHotelManager.Common.Core/Util/Cardcodes.cs
new file mode 100644
index 0000000..96dec22
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Util/Cardcodes.cs
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 卡片代码
+ ///
+ [SqlSugar.SugarTable("cardcodes")]
+ public class Cardcodes
+ {
+ ///
+ /// 卡片代码
+ ///
+ public Cardcodes()
+ {
+ }
+
+ private System.Int64 _id;
+ ///
+ /// 编号
+ ///
+ public System.Int64 id { get { return this._id; } set { this._id = value; } }
+
+ private System.String _Province;
+ ///
+ /// 省份
+ ///
+ public System.String Province { get { return this._Province; } set { this._Province = value; } }
+
+ private System.String _City;
+ ///
+ /// 城市
+ ///
+ public System.String City { get { return this._City; } set { this._City = value; } }
+
+ private System.String _District;
+ ///
+ /// 地区
+ ///
+ public System.String District { get { return this._District; } set { this._District = value; } }
+
+ private System.String _bm;
+ ///
+ /// 地区识别码
+ ///
+ public System.String bm { get { return this._bm; } set { this._bm = value; } }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Util/OperationLog.cs b/EOM.TSHotelManager.Common.Core/Util/OperationLog.cs
new file mode 100644
index 0000000..c183859
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Util/OperationLog.cs
@@ -0,0 +1,99 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:操作日志类
+ */
+using System;
+using System.Linq;
+using System.Net;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 日志等级
+ ///
+ public enum RecordLevel
+ {
+ ///
+ /// 普通警告
+ ///
+ Normal = 100,
+ ///
+ /// 严重警告
+ ///
+ Warning = 200,
+ ///
+ /// 危险警告
+ ///
+ Danger = 300,
+ }
+
+ ///
+ /// 操作日志
+ ///
+ [SqlSugar.SugarTable("operationlog")]
+ public class OperationLog : BaseDTO
+ {
+ ///
+ /// 操作时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "OperationTime")]
+ public DateTime OperationTime { get; set; }
+ ///
+ /// 操作信息
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "LogContent")]
+ public string LogContent { get; set; }
+ ///
+ /// 操作账号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "OperationAccount")]
+ public string OperationAccount { get; set; }
+ ///
+ /// 日志等级
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "OperationLevel")]
+ public RecordLevel OperationLevel { get; set; }
+ ///
+ /// 删除标记
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "delete_mk")]
+ public int delete_mk { get; set; }
+ ///
+ /// 软件版本
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "SoftwareVersion")]
+ public string SoftwareVersion { get; set; }
+ ///
+ /// 登录IP
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "login_ip")]
+ public string login_ip { get; set; }
+
+ ///
+ /// 日志等级
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string OperationLevelNm { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Worker/GBType.cs b/EOM.TSHotelManager.Common.Core/Worker/GBType.cs
new file mode 100644
index 0000000..564271e
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/GBType.cs
@@ -0,0 +1,51 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:奖惩类型类
+ */
+//using EOM.TSHotelManager.Core;
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 奖惩类型实体类
+ ///
+ [SqlSugar.SugarTable("gbtype")]
+ public class GBType : BaseDTO
+ {
+ ///
+ /// 奖惩编号
+ ///
+ public int GBTypeId { get; set; }
+
+ ///
+ /// 奖惩名称
+ ///
+ public string GBName { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/EOM.TSHotelManager.Common.Core/Worker/Worker.cs b/EOM.TSHotelManager.Common.Core/Worker/Worker.cs
new file mode 100644
index 0000000..ae827a0
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/Worker.cs
@@ -0,0 +1,137 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:员工信息类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 员工信息
+ ///
+ [SqlSugar.SugarTable("worker")]
+ public class Worker : BaseDTO
+ {
+ ///
+ /// 员工账号/工号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerId")]
+ public string WorkerId { get; set; }
+ ///
+ /// 员工姓名
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerName")]
+ public string WorkerName { get; set; }
+ ///
+ /// 出生日期
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerBirthday")]
+ public DateTime WorkerBirthday { get; set; }
+ ///
+ /// 员工性别
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerSex")]
+ public int WorkerSex { get; set; }
+ ///
+ /// 员工性别(名称描述)
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string WorkerSexName { get; set; }
+ ///
+ /// 民族类型
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerNation")]
+ public string WorkerNation { get; set; }
+ ///
+ /// 民族名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string NationName { get; set; }
+ ///
+ /// 员工电话
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerTel")]
+ public string WorkerTel { get; set; }
+ ///
+ /// 所属部门
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerClub")]
+ public string WorkerClub { get; set; }
+ ///
+ /// 部门名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string ClubName { get; set; }
+ ///
+ /// 居住地址
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerAddress")]
+ public string WorkerAddress { get; set; }
+ ///
+ /// 员工职位
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerPosition")]
+ public string WorkerPosition { get; set; }
+ ///
+ /// 职位名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string PositionName { get; set; }
+ ///
+ /// 证件号码
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "CardID")]
+ public string CardId { get; set; }
+ ///
+ /// 员工密码
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreInsert = true)]
+ public string WorkerPwd { get; set; }
+ ///
+ /// 员工入职时间
+ ///
+ public DateTime WorkerTime { get; set; }
+ ///
+ /// 员工面貌
+ ///
+ public string WorkerFace { get; set; }
+ ///
+ /// 群众面貌描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string FaceName { get; set; }
+ ///
+ /// 教育程度
+ ///
+ public string WorkerEducation { get; set; }
+ ///
+ /// 教育程度名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string EducationName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Worker/WorkerCheck.cs b/EOM.TSHotelManager.Common.Core/Worker/WorkerCheck.cs
new file mode 100644
index 0000000..f95752f
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/WorkerCheck.cs
@@ -0,0 +1,68 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:打卡考勤类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 员工打卡考勤
+ ///
+ [SqlSugar.SugarTable("workercheck")]
+ public class WorkerCheck : BaseDTO
+ {
+ ///
+ /// 编号
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
+ public int Id { get; set; }
+ ///
+ /// 工号
+ ///
+ public string WorkerNo { get; set; }
+ ///
+ /// 打卡时间
+ ///
+ public DateTime CheckTime { get; set; }
+ ///
+ /// 打卡方式
+ ///
+ public string CheckWay { get; set; }
+ ///
+ /// 打卡状态
+ ///
+ public int CheckState { get; set; }
+
+ ///
+ /// 打卡状态
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string CheckStateNm { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Worker/WorkerGoodBad.cs b/EOM.TSHotelManager.Common.Core/Worker/WorkerGoodBad.cs
new file mode 100644
index 0000000..cfef27c
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/WorkerGoodBad.cs
@@ -0,0 +1,79 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:员工奖惩类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 员工奖罚
+ ///
+ [SqlSugar.SugarTable("workergoodbad")]
+ public class WorkerGoodBad : BaseDTO
+ {
+ ///
+ /// 编号
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
+ public int Id { get; set; }
+ ///
+ /// 工号
+ ///
+ public string WorkNo { get; set; }
+ ///
+ /// 奖惩信息
+ ///
+ public string GBInfo { get; set; }
+ ///
+ /// 奖惩类型
+ ///
+ public int GBType { get; set; }
+ ///
+ /// 奖惩操作人
+ ///
+ public string GBOperation { get; set; }
+ ///
+ /// 奖惩操作人
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string OperationName { get; set; }
+ ///
+ /// 奖惩时间
+ ///
+ public DateTime GBTime { get; set; }
+ ///
+ /// 类型名称
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string TypeName { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Worker/WorkerHistory.cs b/EOM.TSHotelManager.Common.Core/Worker/WorkerHistory.cs
new file mode 100644
index 0000000..18e4caa
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/WorkerHistory.cs
@@ -0,0 +1,65 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:履历类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 员工履历
+ ///
+ [SqlSugar.SugarTable("workerhistory")]
+ public class WorkerHistory : BaseDTO
+ {
+ ///
+ /// 编号
+ ///
+ [SqlSugar.SugarColumn(IsOnlyIgnoreInsert = true,IsOnlyIgnoreUpdate = true)]
+ public int Id { get; set; }
+ ///
+ /// 工号
+ ///
+ public string WorkerId { get; set; }
+ ///
+ /// 开始时间
+ ///
+ public DateTime StartDate { get; set; }
+ ///
+ /// 结束时间
+ ///
+ public DateTime EndDate { get; set; }
+ ///
+ /// 职位
+ ///
+ public string Position { get; set; }
+ ///
+ /// 公司
+ ///
+ public string Company { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Worker/WorkerPic.cs b/EOM.TSHotelManager.Common.Core/Worker/WorkerPic.cs
new file mode 100644
index 0000000..f49b916
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Worker/WorkerPic.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+//using System.ComponentModel.DataAnnotations.Schema;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 员工照片
+ ///
+ [SqlSugar.SugarTable("workerpic")]
+ public class WorkerPic
+ {
+ ///
+ /// 自增长流水号
+ ///
+ [SqlSugar.SugarColumn(IsIdentity = true,ColumnName = "Id",IsPrimaryKey = true)]
+ public int Id { get; set; }
+ ///
+ /// 工号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "WorkerId")]
+ public string WorkerId { get; set; }
+
+ ///
+ /// 照片路径
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "Pic")]
+ public string Pic { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Admin.cs b/EOM.TSHotelManager.Common.Core/Zero/Admin.cs
new file mode 100644
index 0000000..da92a8c
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Admin.cs
@@ -0,0 +1,101 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:管理员实体类
+ */
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 管理员实体类
+ ///
+ [SqlSugar.SugarTable("admininfo")]
+ public class Admin : BaseDTO
+ {
+ ///
+ /// 构造函数
+ ///
+ public Admin()
+ {
+ }
+
+ ///
+ /// 编号
+ ///
+ public int Id { get; set; }
+
+ private string _AdminAccount;
+ ///
+ /// 管理员账号
+ ///
+ [SqlSugar.SugarColumn(IsPrimaryKey = true)]
+ public string AdminAccount { get { return this._AdminAccount; } set { this._AdminAccount = value; } }
+
+ private string _AdminPassword;
+ ///
+ /// 管理员密码
+ ///
+ public string AdminPassword { get { return this._AdminPassword; } set { this._AdminPassword = value; } }
+
+ private string _AdminType;
+ ///
+ /// 管理员类型
+ ///
+ public string AdminType { get { return this._AdminType; } set { this._AdminType = value; } }
+
+ private string _AdminName;
+ ///
+ /// 管理员名称
+ ///
+ public string AdminName { get { return this._AdminName; } set { this._AdminName = value; } }
+
+ private System.Int32 _IsAdmin;
+ ///
+ /// 是否为超级管理员
+ ///
+ public System.Int32 IsAdmin { get { return this._IsAdmin; } set { this._IsAdmin = value; } }
+
+ private System.Int32 _DeleteMk;
+ ///
+ /// 删除标记
+ ///
+ public System.Int32 DeleteMk { get { return this._DeleteMk; } set { this._DeleteMk = value; } }
+
+ ///
+ /// 管理员类型描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string IsAdminNm { get; set; }
+
+ ///
+ /// 管理员类型
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string TypeName { get; set; }
+
+ ///
+ /// 删除标记描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string DeleteNm { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/AdminType.cs b/EOM.TSHotelManager.Common.Core/Zero/AdminType.cs
new file mode 100644
index 0000000..09a3944
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/AdminType.cs
@@ -0,0 +1,60 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:管理员类型
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 管理员类型
+ ///
+ [SqlSugar.SugarTable("admintype")]
+ public class AdminType : BaseDTO
+ {
+ ///
+ /// 编号
+ ///
+ public int Id { get; set; }
+
+ ///
+ /// 管理员类型
+ ///
+ public string type_id { get; set; }
+
+ ///
+ /// 类型名称
+ ///
+ public string type_name { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Base.cs b/EOM.TSHotelManager.Common.Core/Zero/Base.cs
new file mode 100644
index 0000000..1b14386
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Base.cs
@@ -0,0 +1,49 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:系统信息静态类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 系统信息
+ ///
+ [SqlSugar.SugarTable("base")]
+ public class Base
+ {
+ ///
+ /// 地址编号
+ ///
+ public int url_no { get; set; }
+
+ ///
+ /// 地址
+ ///
+ public string url_addr { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/CheckInfo.cs b/EOM.TSHotelManager.Common.Core/Zero/CheckInfo.cs
new file mode 100644
index 0000000..259fbeb
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/CheckInfo.cs
@@ -0,0 +1,69 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:监管统计类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 监管统计
+ ///
+ [SqlSugar.SugarTable("checkinfo")]
+ public class CheckInfo : BaseDTO
+ {
+ ///
+ /// 监管统计编号
+ ///
+ public string CheckNo { get; set; }
+ ///
+ /// 监管部门
+ ///
+ public string CheckClub { get; set; }
+ ///
+ /// 监管进度
+ ///
+ public string CheckProgres { get; set; }
+ ///
+ ///
+ ///
+ public string CheckCash { get; set; }
+ ///
+ ///
+ ///
+ public int CheckScore { get; set; }
+ ///
+ ///
+ ///
+ public string CheckPerson { get; set; }
+ ///
+ ///
+ ///
+ public string CheckAdvice { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Dept.cs b/EOM.TSHotelManager.Common.Core/Zero/Dept.cs
new file mode 100644
index 0000000..f3bd3b3
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Dept.cs
@@ -0,0 +1,86 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:部门实体类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 部门表
+ ///
+ [SqlSugar.SugarTable("dept")]
+ public class Dept : BaseDTO
+ {
+ ///
+ /// 部门编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_no")]
+ public string dept_no { get; set; }
+ ///
+ /// 部门名称
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_name")]
+ public string dept_name { get; set; }
+ ///
+ /// 部门描述
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_desc")]
+ public string dept_desc { get; set; }
+ ///
+ /// 创建时间(部门)
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_date")]
+ public DateTime dept_date { get; set; }
+ ///
+ /// 部门主管
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_leader")]
+ public string dept_leader { get; set; }
+ ///
+ /// 部门主管
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string leader_name { get; set; }
+ ///
+ /// 上级部门
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "dept_parent")]
+ public string dept_parent { get; set; }
+ ///
+ /// 上级部门
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string parent_name { get; set; }
+ ///
+ /// 删除标记
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "delete_mk")]
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Education.cs b/EOM.TSHotelManager.Common.Core/Zero/Education.cs
new file mode 100644
index 0000000..d679a0f
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Education.cs
@@ -0,0 +1,53 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:学历类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 学历
+ ///
+ [SqlSugar.SugarTable("education")]
+ public class Education : BaseDTO
+ {
+ ///
+ /// 学历编号
+ ///
+ public string education_no { get; set; }
+ ///
+ /// 学历名称
+ ///
+ public string education_name { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int? delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Module.cs b/EOM.TSHotelManager.Common.Core/Zero/Module.cs
new file mode 100644
index 0000000..ecf7ade
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Module.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 模块实体
+ ///
+ [SqlSugar.SugarTable("module")]
+ public class Module : BaseDTO
+ {
+ ///
+ /// 模块ID
+ ///
+ public int module_id { get; set; }
+
+ ///
+ /// 模块名称
+ ///
+ public string module_name { get; set; }
+
+ ///
+ /// 模块描述
+ ///
+ public string module_desc { get; set; }
+
+ ///
+ /// 删除标记
+ ///
+ public int delete_mk { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/ModuleConsts.cs b/EOM.TSHotelManager.Common.Core/Zero/ModuleConsts.cs
new file mode 100644
index 0000000..3132738
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/ModuleConsts.cs
@@ -0,0 +1,79 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:系统模块常量类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 系统模块常量类
+ ///
+ public class ModuleConsts
+ {
+ ///
+ /// 基础信息
+ ///
+ public const string BaseInfo = "BaseInfo";
+ ///
+ /// 财务信息
+ ///
+ public const string CashInfo = "CashInfo";
+ ///
+ /// 水电管理
+ ///
+ public const string WtiInfo = "WtiInfo";
+ ///
+ /// 监管统计
+ ///
+ public const string CheckInfo = "CheckInfo";
+ ///
+ /// 客房管理
+ ///
+ public const string RoomManager = "RoomManager";
+ ///
+ /// 客户管理
+ ///
+ public const string CustomerManager = "CustomerManager";
+ ///
+ /// 人事管理
+ ///
+ public const string HumanResourcesManager = "HumanResourcesManager";
+ ///
+ /// 物资管理
+ ///
+ public const string MaterialManager = "MaterialManager";
+ ///
+ /// 员工操作日志
+ ///
+ public const string OperationLogManager = "OperationLogManager";
+ ///
+ /// 系统管理
+ ///
+ public const string AdminManager = "AdminManager";
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/ModuleZero.cs b/EOM.TSHotelManager.Common.Core/Zero/ModuleZero.cs
new file mode 100644
index 0000000..d7103c5
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/ModuleZero.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+
+ ///
+ /// 模块权限表
+ ///
+ [SqlSugar.SugarTable("module_zero")]
+ public class ModuleZero
+ {
+ ///
+ /// 模块ID
+ ///
+ [SqlSugar.SugarColumn(IsIdentity = true,ColumnName = "module_id")]
+ public int module_id { get; set; }
+ ///
+ /// 管理员账号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "admin_account")]
+ public string admin_account { get; set; }
+ ///
+ /// 模块名称
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "module_name")]
+ public string module_name { get; set; }
+ ///
+ /// 是否开启
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "module_enable")]
+ public int module_enable { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Nation.cs b/EOM.TSHotelManager.Common.Core/Zero/Nation.cs
new file mode 100644
index 0000000..41ba761
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Nation.cs
@@ -0,0 +1,53 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:民族类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 民族
+ ///
+ [SqlSugar.SugarTable("nation")]
+ public class Nation : BaseDTO
+ {
+ ///
+ /// 民族编号
+ ///
+ public string nation_no { get; set; }
+ ///
+ /// 民族名称
+ ///
+ public string nation_name { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int? delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/Notice.cs b/EOM.TSHotelManager.Common.Core/Zero/Notice.cs
new file mode 100644
index 0000000..377262d
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/Notice.cs
@@ -0,0 +1,77 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:任命公告类
+ */
+using System;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 任命公告
+ ///
+ [SqlSugar.SugarTable("uploadinfo")]
+ public class Notice : BaseDTO
+ {
+ ///
+ /// 公告编号
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "NoticeNo")]
+ public string NoticeNo { get; set; }
+ ///
+ /// 公告主题
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "Noticetheme")]
+ public string Noticetheme { get; set; }
+ ///
+ /// 公告类型
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "NoticeType")]
+ public string NoticeType { get; set; }
+ ///
+ /// 公告类型(描述)
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string NoticeTypeName { get; set; }
+ ///
+ /// 公告时间
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "NoticeTime")]
+ public DateTime NoticeTime { get; set; }
+ ///
+ /// 公告正文
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "NoticeContent")]
+ public string NoticeContent { get; set; }
+ ///
+ /// 发文部门
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "NoticeClub")]
+ public string NoticeClub { get; set; }
+ ///
+ /// 删除标记
+ ///
+ [SqlSugar.SugarColumn(ColumnName = "delete_mk")]
+ public int delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/VipRule.cs b/EOM.TSHotelManager.Common.Core/Zero/VipRule.cs
new file mode 100644
index 0000000..b4903b2
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/VipRule.cs
@@ -0,0 +1,75 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:会员等级规则类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 会员等级规则类
+ ///
+ [SqlSugar.SugarTable("vip_rule")]
+ public class VipRule : BaseDTO
+ {
+ ///
+ /// 索引ID
+ ///
+ public int id { get; set; }
+
+ ///
+ /// 会员规则流水号
+ ///
+ public string rule_id { get; set; }
+
+ ///
+ /// 会员规则名称
+ ///
+ public string rule_name { get; set; }
+
+ ///
+ /// 预设数值(历史消费总额)
+ ///
+ public decimal rule_value { get; set; }
+
+ ///
+ /// 会员等级
+ ///
+ public int type_id { get; set; }
+
+ ///
+ /// 删除标识
+ ///
+ public int delete_mk { get; set; }
+
+ ///
+ /// 会员等级描述
+ ///
+ [SqlSugar.SugarColumn(IsIgnore = true)]
+ public string type_name { get; set; }
+ }
+}
diff --git a/EOM.TSHotelManager.Common.Core/Zero/position.cs b/EOM.TSHotelManager.Common.Core/Zero/position.cs
new file mode 100644
index 0000000..66cb504
--- /dev/null
+++ b/EOM.TSHotelManager.Common.Core/Zero/position.cs
@@ -0,0 +1,53 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 易开元(Easy-Open-Meta)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:职务类
+ */
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EOM.TSHotelManager.Common.Core
+{
+ ///
+ /// 职位
+ ///
+ [SqlSugar.SugarTable("position")]
+ public class Position : BaseDTO
+ {
+ ///
+ /// 职位编号
+ ///
+ public string position_no { get; set; }
+ ///
+ /// 职位名称
+ ///
+ public string position_name { get; set; }
+ ///
+ /// 删除标记
+ ///
+ public int? delete_mk { get; set; }
+
+ }
+}
diff --git a/EOM.TSHotelManager.Web.sln b/EOM.TSHotelManager.Web.sln
index 957815c..f60bbef 100644
--- a/EOM.TSHotelManager.Web.sln
+++ b/EOM.TSHotelManager.Web.sln
@@ -13,6 +13,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EOM.TSHotelManager.WebApi",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Library", "Library\Library.csproj", "{F27A7D1A-6468-4689-8B83-53CE3B7B0E17}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EOM.TSHotelManager.Common.Core", "EOM.TSHotelManager.Common.Core\EOM.TSHotelManager.Common.Core.csproj", "{D99F4527-C620-4073-92B1-254A6C7FA363}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -39,6 +41,10 @@ Global
{F27A7D1A-6468-4689-8B83-53CE3B7B0E17}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F27A7D1A-6468-4689-8B83-53CE3B7B0E17}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F27A7D1A-6468-4689-8B83-53CE3B7B0E17}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D99F4527-C620-4073-92B1-254A6C7FA363}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D99F4527-C620-4073-92B1-254A6C7FA363}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D99F4527-C620-4073-92B1-254A6C7FA363}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D99F4527-C620-4073-92B1-254A6C7FA363}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/EOM.TSHotelManager.WebApi/appsettings.json b/EOM.TSHotelManager.WebApi/appsettings.json
index d458644..c5cfa6a 100644
--- a/EOM.TSHotelManager.WebApi/appsettings.json
+++ b/EOM.TSHotelManager.WebApi/appsettings.json
@@ -7,7 +7,7 @@
}
},
"ConnectionStrings": {
- "PgSqlConnectStr": "PORT=5630;DATABASE=tshoteldb;HOST=.;PASSWORD=.;USER ID=postgres"
+ "PgSqlConnectStr": "Host=23.94.74.254;Port=5432;Username=postgres;Password=7Fa8k4P.3/R9Z2;Database=tshoteldb;"
},
"AllowedHosts": "*"
}
--
Gitee