feat 跳板机中间api
This commit is contained in:
9
Src/Dlhis.Middle/Entities/LocalBalanceRecordEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalBalanceRecordEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Canteen.Entities;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalBalanceRecordEntity : BalanceRecordEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalBusinessPlaceEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalBusinessPlaceEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalBusinessPlaceEntity : BusinessPlaceEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalBusinessPlaceShiftRelationshipEntity : BusinessPlaceShiftRelationshipEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalBusinessShiftEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalBusinessShiftEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalBusinessShiftEntity : BusinessShiftEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities;
|
||||
|
||||
public class LocalBusinessShiftMealRelationshipEntity : BusinessShiftMealRelationshipEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalCanteenSettingEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalCanteenSettingEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalCanteenSettingEntity : CanteenSettingEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalDepartmentEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalDepartmentEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalDepartmentEntity : DepartmentEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalDeviceEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalDeviceEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalDeviceEntity : DeviceEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalDeviceRegistryEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalDeviceRegistryEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Device.Entities;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalDeviceRegistryEntity : DeviceRegistryEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalGainfoEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalGainfoEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalGainfoEntity : GainfoEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
9
Src/Dlhis.Middle/Entities/LocalGainfoMealEntity.cs
Normal file
9
Src/Dlhis.Middle/Entities/LocalGainfoMealEntity.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
|
||||
namespace Dlhis.Middle.Entities
|
||||
{
|
||||
public class LocalGainfoMealEntity : GainfoMealEntity
|
||||
{
|
||||
public new int Id { get; set; }
|
||||
}
|
||||
}
|
||||
50
Src/Dlhis.Middle/Entities/LocalOrderEntity.cs
Normal file
50
Src/Dlhis.Middle/Entities/LocalOrderEntity.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Middle.Entities;
|
||||
|
||||
[SugarTable(TableName = "LocalOrders")]
|
||||
public class LocalOrderEntity : SugarBaseEntity
|
||||
{
|
||||
|
||||
public new int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否离线数据
|
||||
/// </summary>
|
||||
public bool IsOffline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消费机器唯一信息
|
||||
/// </summary>
|
||||
public string DeviceUniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第三方订单号
|
||||
/// </summary>
|
||||
public string ThirdNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 档案号/QrCode/学工号
|
||||
/// </summary>
|
||||
public string UserUniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 来源
|
||||
/// </summary>
|
||||
public BalanceRecordSourceEnumType Source { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 金额
|
||||
/// </summary>
|
||||
public decimal Amount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产生时间
|
||||
/// </summary>
|
||||
public DateTime CostDateTime { get; set; }
|
||||
|
||||
|
||||
public bool IsSync { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user