feat 外包人员,框架升级
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
@@ -44,5 +44,4 @@ public class BasicTypeEntity : SugarBaseEntity
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "排序", DefaultValue = "0")]
|
||||
public int Sequence { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
@@ -10,41 +10,41 @@ namespace Dlhis.Entity.Basic.Entity;
|
||||
public class BusinessShiftMealRelationshipEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 餐别Code
|
||||
/// 餐别Code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐别Code", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
||||
public Guid ShiftCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐别手工号
|
||||
/// 餐别手工号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐别编码")]
|
||||
public string ShiftCustomCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐次
|
||||
/// 餐次
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐次", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
||||
public ShiftEnumType ShiftType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 经营开始时间
|
||||
/// 经营开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经营开始时间")]
|
||||
public TimeOnly Start { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 经营结束时间
|
||||
/// 经营结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经营结束时间")]
|
||||
public TimeOnly End { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "序号")]
|
||||
public int Sequence { get; set; }
|
||||
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,52 +1,53 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 就餐配置
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "CanteenSetting", TableDescription = "就餐配置")]
|
||||
public class CanteenSettingEntity : SugarBaseEntity, ITenantId
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 唯一类型
|
||||
/// 就餐配置
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "唯一类型")]
|
||||
public CanteenSettingUnqiueEnumType UniqueType { get; set; }
|
||||
[SugarTable(TableName = "CanteenSetting", TableDescription = "就餐配置")]
|
||||
public class CanteenSettingEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 唯一类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "唯一类型")]
|
||||
public CanteenSettingUnqiueEnumType UniqueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "唯一值")]
|
||||
public string UniqueValue { get; set; }
|
||||
/// <summary>
|
||||
/// 唯一值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "唯一值")]
|
||||
public string UniqueValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分类
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分类")]
|
||||
public string Catalog { get; set; }
|
||||
/// <summary>
|
||||
/// 分类
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分类")]
|
||||
public string Catalog { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "参数", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public CanteenSettingItemEnumType Item { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "参数", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public CanteenSettingItemEnumType Item { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "值")]
|
||||
public string Value { get; set; }
|
||||
/// <summary>
|
||||
/// 值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "值")]
|
||||
public string Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
|
||||
public bool Enable { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
|
||||
public bool Enable { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,29 +1,30 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 部门
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "Department", TableDescription = "部门")]
|
||||
public class DepartmentEntity : SugarBaseEntity
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 部门号
|
||||
/// 部门
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门号", IsNullable = false, UniqueGroupNameList = new[] { "idx_Department_No" })]
|
||||
public string No { get; set; }
|
||||
[SugarTable(TableName = "Department", TableDescription = "部门")]
|
||||
public class DepartmentEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 部门号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门号", IsNullable = false, UniqueGroupNameList = new[] { "idx_Department_No" })]
|
||||
public string No { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上级部门号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "上级部门号")]
|
||||
public string PNo { get; set; }
|
||||
/// <summary>
|
||||
/// 上级部门号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "上级部门号")]
|
||||
public string PNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门名称", IsNullable = false)]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 部门名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门名称", IsNullable = false)]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,97 +1,98 @@
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 设备
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "Device", TableDescription = "设备表")]
|
||||
public class DeviceEntity : SugarBaseEntity, ITenantId
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备code
|
||||
/// 设备
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "设备code")]
|
||||
public Guid Code { get; set; }
|
||||
[SugarTable(TableName = "Device", TableDescription = "设备表")]
|
||||
public class DeviceEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "设备code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备唯一码,IP/MAC/SNO
|
||||
/// </summary>
|
||||
[AdaptIgnore(MemberSide.Destination)]
|
||||
[SugarColumn(ColumnDescription = "设备唯一码", IsNullable = false, UniqueGroupNameList = new[] { "Idx_Device_UniqueNo" })]
|
||||
public string UniqueNo { get; set; }
|
||||
/// <summary>
|
||||
/// 设备唯一码,IP/MAC/SNO
|
||||
/// </summary>
|
||||
[AdaptIgnore(MemberSide.Destination)]
|
||||
[SugarColumn(ColumnDescription = "设备唯一码", IsNullable = false, UniqueGroupNameList = new[] { "Idx_Device_UniqueNo" })]
|
||||
public string UniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 心跳间隔
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "心跳检查间隔")]
|
||||
public int HeartbeatInterval { get; set; }
|
||||
/// <summary>
|
||||
/// 心跳间隔
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "心跳检查间隔")]
|
||||
public int HeartbeatInterval { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "供应商")]
|
||||
public string Supplier { get; set; }
|
||||
/// <summary>
|
||||
/// 供应商
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "供应商")]
|
||||
public string Supplier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备功能
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(150)", IsJson = true, ColumnDescription = "设备功能", DefaultValue = "[]")]
|
||||
public List<DeviceFuncEnumType> Funcs { get; set; }
|
||||
/// <summary>
|
||||
/// 设备功能
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(150)", IsJson = true, ColumnDescription = "设备功能", DefaultValue = "[]")]
|
||||
public List<DeviceFuncEnumType> Funcs { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "设备类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceTypeEnumType Type { get; set; }
|
||||
/// <summary>
|
||||
/// 设备类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "设备类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceTypeEnumType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署点
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署点")]
|
||||
public string DeployPlace { get; set; }
|
||||
/// <summary>
|
||||
/// 部署点
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署点")]
|
||||
public string DeployPlace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署坐标
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署坐标")]
|
||||
public string DeployPosition { get; set; }
|
||||
/// <summary>
|
||||
/// 部署坐标
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署坐标")]
|
||||
public string DeployPosition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署方向
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署方向", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceDeployDirectionEnumType? DeployDirection { get; set; }
|
||||
/// <summary>
|
||||
/// 部署方向
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部署方向", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceDeployDirectionEnumType? DeployDirection { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板code")]
|
||||
public Guid? TemplateCode { get; set; }
|
||||
/// <summary>
|
||||
/// 模板code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板code")]
|
||||
public Guid? TemplateCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 连接信息
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "连接信息")]
|
||||
public string ConnectionInfo { get; set; }
|
||||
/// <summary>
|
||||
/// 连接信息
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "连接信息")]
|
||||
public string ConnectionInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
|
||||
public bool Enable { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
|
||||
public bool Enable { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否作为考勤设备
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否作为考勤设备")]
|
||||
public bool AsAttendance { get; set; }
|
||||
/// <summary>
|
||||
/// 是否作为考勤设备
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否作为考勤设备")]
|
||||
public bool AsAttendance { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,36 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 设备配置模板
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "DeviceTemplate", TableDescription = "设备配置模板")]
|
||||
public class DeviceTemplateEntity : SugarBaseEntity
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 模板code
|
||||
/// 设备配置模板
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板code")]
|
||||
public Guid Code { get; set; }
|
||||
[SugarTable(TableName = "DeviceTemplate", TableDescription = "设备配置模板")]
|
||||
public class DeviceTemplateEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 模板code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 品牌
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "品牌", UniqueGroupNameList = new string[] { "idx_DeviceTemplate_brand_name" })]
|
||||
public string Brand { get; set; }
|
||||
/// <summary>
|
||||
/// 品牌
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "品牌", UniqueGroupNameList = new[] { "idx_DeviceTemplate_brand_name" })]
|
||||
public string Brand { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "型号", UniqueGroupNameList = new string[] { "idx_DeviceTemplate_brand_name" })]
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 模板名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "型号", UniqueGroupNameList = new[] { "idx_DeviceTemplate_brand_name" })]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板json
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板json")]
|
||||
public string Template { get; set; }
|
||||
/// <summary>
|
||||
/// 模板json
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板json")]
|
||||
public string Template { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,33 +1,34 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
[SugarTable(TableName = "GainfoCardRecord", TableDescription = "卡记录")]
|
||||
public class GainfoCardRecordEntity : SugarBaseEntity, ITenantId
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 档案No
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_GainfoCardRecord_userno" })]
|
||||
public string UserNo { get; set; }
|
||||
[SugarTable(TableName = "GainfoCardRecord", TableDescription = "卡记录")]
|
||||
public class GainfoCardRecordEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 档案No
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_GainfoCardRecord_userno" })]
|
||||
public string UserNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string CardNo { get; set; }
|
||||
/// <summary>
|
||||
/// 卡号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string CardNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更换原因
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
/// <summary>
|
||||
/// 更换原因
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
@@ -12,79 +12,79 @@ namespace Dlhis.Entity.Basic.Entity;
|
||||
public class GainfoEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 档案号
|
||||
/// 档案号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "档案号", UniqueGroupNameList = new[] { "idx_Gainfo_No" })]
|
||||
public string No { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SAP内部编号
|
||||
/// SAP内部编号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "SAP内部编号")]
|
||||
public string SapNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员类型
|
||||
/// 人员类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员类型")]
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 姓名
|
||||
/// 姓名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "姓名")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 外文名字
|
||||
/// 外文名字
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "外文名字")]
|
||||
public string NameEn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学工号
|
||||
/// 学工号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_Gainfo_Code" })]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 国家代码
|
||||
/// 国家代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "国家代码")]
|
||||
public string CountryNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 证件类型代码
|
||||
/// 证件类型代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "证件类型代码")]
|
||||
public string IdClass { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证号", UniqueGroupNameList = new[] { "idx_Gainfo_IdNo" })]
|
||||
public string IdNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证籍贯区域代码
|
||||
/// 身份证籍贯区域代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证籍贯区域代码")]
|
||||
public string Native { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// 性别
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "性别", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public GenderEnumType Gender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// 生日
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "生日")]
|
||||
public DateTime Birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证地址
|
||||
/// 身份证地址
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证地址")]
|
||||
public string Address { get; set; }
|
||||
@@ -96,104 +96,104 @@ public class GainfoEntity : SugarBaseEntity
|
||||
//public string Marital { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门编码
|
||||
/// 部门编码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门编码")]
|
||||
public string DepartmentNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 民族代码
|
||||
/// 民族代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "民族代码")]
|
||||
public string Nation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "手机号码")]
|
||||
public string Phone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学历
|
||||
/// 学历
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "学历")]
|
||||
public string Degree { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 岗位
|
||||
/// 岗位
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "岗位")]
|
||||
public string PositionNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 职等
|
||||
/// 职等
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "职等")]
|
||||
public string Grade { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 职级
|
||||
/// 职级
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "职级")]
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡号
|
||||
/// 卡号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "卡号", IndexGroupNameList = new[] { "idx_Gainfo_CardNo" })]
|
||||
public string CardNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人事范围
|
||||
/// 人事范围
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人事范围")]
|
||||
public string Werks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作地
|
||||
/// 工作地
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "工作地")]
|
||||
public string Workplace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 厂区
|
||||
/// 厂区
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "厂区")]
|
||||
public string Factory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成本中心
|
||||
/// 成本中心
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "成本中心")]
|
||||
public string CostId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 入职日期
|
||||
/// 入职日期
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "入职日期", ColumnDataType = "date")]
|
||||
public DateTime? EntryDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 离职日期
|
||||
/// 离职日期
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "离职日期", ColumnDataType = "date")]
|
||||
public DateTime? ResignationDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份认证用户Id(如果为空匹配code)
|
||||
/// 身份认证用户Id(如果为空匹配code)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份认证用户Id", IsNullable = true)]
|
||||
public int IdentityUserId { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 离职人员档案表
|
||||
/// 离职人员档案表
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoLeave", TableDescription = "离职人员档案表")]
|
||||
public class GainfoLeaveEntity : GainfoEntity
|
||||
@@ -201,14 +201,14 @@ public class GainfoLeaveEntity : GainfoEntity
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 外部人员档案表
|
||||
/// 外部人员档案表
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoExternal", TableDescription = "外部人员档案表")]
|
||||
public class GainfoExternalEntity : GainfoEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 公司
|
||||
/// 公司
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "公司", IsNullable = false)]
|
||||
public string Company { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 档案人脸信息
|
||||
/// </summary>
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "GainfoFace", TableDescription = "档案人脸信息")]
|
||||
public class GainfoFaceEntity : SugarBaseEntity
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 学工号
|
||||
/// 档案人脸信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, UniqueGroupNameList = new[] { "idx_GainfoFace_UserCode" })]
|
||||
public string UserCode { get; set; }
|
||||
[SkipScan]
|
||||
[SugarTable(TableName = "GainfoFace", TableDescription = "档案人脸信息")]
|
||||
public class GainfoFaceEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 学工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, UniqueGroupNameList = new[] { "idx_GainfoFace_UserCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 人脸
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "longtext", IsNullable = false)]
|
||||
public string Face { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 人脸
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "longtext", IsNullable = false)]
|
||||
public string Face { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,50 +1,51 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 档案组
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoGroup", TableDescription = "档案组")]
|
||||
public class GainfoGroupEntity : SugarBaseEntity, ITenantId
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 父级Code
|
||||
/// 档案组
|
||||
/// </summary>
|
||||
public Guid? PCode { get; set; }
|
||||
[SugarTable(TableName = "GainfoGroup", TableDescription = "档案组")]
|
||||
public class GainfoGroupEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 父级Code
|
||||
/// </summary>
|
||||
public Guid? PCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分组code")]
|
||||
public Guid Code { get; set; }
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分组code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "名称")]
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否默认分组
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否默认分组", ColumnDataType = "bit", DefaultValue = "1")]
|
||||
public bool IsDefault { get; set; } = true;
|
||||
/// <summary>
|
||||
/// 是否默认分组
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否默认分组", ColumnDataType = "bit", DefaultValue = "1")]
|
||||
public bool IsDefault { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否可编辑
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否可编辑", ColumnDataType = "bit", DefaultValue = "1")]
|
||||
public bool Editable { get; set; } = true;
|
||||
/// <summary>
|
||||
/// 是否可编辑
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否可编辑", ColumnDataType = "bit", DefaultValue = "1")]
|
||||
public bool Editable { get; set; } = true;
|
||||
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,22 +1,23 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 档案人员组关系
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoGroupRelationship", TableDescription = "档案人员组关系")]
|
||||
public class GainfoGroupRelationshipEntity : SugarBaseEntity
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// 档案人员组关系
|
||||
/// </summary>
|
||||
public Guid GroupCode { get; set; }
|
||||
[SugarTable(TableName = "GainfoGroupRelationship", TableDescription = "档案人员组关系")]
|
||||
public class GainfoGroupRelationshipEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 分组code
|
||||
/// </summary>
|
||||
public Guid GroupCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员档案号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员档案号")]
|
||||
public string UserNo { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 人员档案号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员档案号")]
|
||||
public string UserNo { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,48 +1,49 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 就餐人员
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoMeal", TableDescription = "就餐人员")]
|
||||
public class GainfoMealEntity : SugarBaseEntity, IVersion
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 档案号
|
||||
/// 就餐人员
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "档案号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserNo" })]
|
||||
public string UserNo { get; set; }
|
||||
[SugarTable(TableName = "GainfoMeal", TableDescription = "就餐人员")]
|
||||
public class GainfoMealEntity : SugarBaseEntity, IVersion
|
||||
{
|
||||
/// <summary>
|
||||
/// 档案号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "档案号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserNo" })]
|
||||
public string UserNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserCode" })]
|
||||
public string UserCode { get; set; }
|
||||
/// <summary>
|
||||
/// 工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额")]
|
||||
public decimal Balance { get; set; }
|
||||
/// <summary>
|
||||
/// 余额
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额")]
|
||||
public decimal Balance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额(充值)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(充值)")]
|
||||
public decimal BalanceOfRecharge { get; set; }
|
||||
/// <summary>
|
||||
/// 余额(充值)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(充值)")]
|
||||
public decimal BalanceOfRecharge { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额(餐补)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(餐补)")]
|
||||
public decimal BalanceOfSubsidies { get; set; }
|
||||
/// <summary>
|
||||
/// 余额(餐补)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(餐补)")]
|
||||
public decimal BalanceOfSubsidies { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "版本号")]
|
||||
public int Version { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "版本号")]
|
||||
public int Version { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,125 +0,0 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
[SugarTable(TableName = "GainfoSap")]
|
||||
public class GainfoSapEntity
|
||||
{
|
||||
|
||||
[PkColumn]
|
||||
public int id { get; set; }
|
||||
|
||||
public string ano { get; set; }
|
||||
public string @class { get; set; }
|
||||
|
||||
public string passwd { get; set; }
|
||||
public string question { get; set; }
|
||||
|
||||
public string answer { get; set; }
|
||||
public string gname { get; set; }
|
||||
|
||||
[UpdateColumn]
|
||||
public string ename { get; set; }
|
||||
|
||||
public string country { get; set; }
|
||||
public string idcls { get; set; }
|
||||
public string idno { get; set; }
|
||||
public string native { get; set; }
|
||||
public string sex { get; set; }
|
||||
public DateTime birthday { get; set; }
|
||||
public string address { get; set; }
|
||||
public string postcode { get; set; }
|
||||
public string occupation { get; set; }
|
||||
public string appellation { get; set; }
|
||||
public string nation { get; set; }
|
||||
public string phone { get; set; }
|
||||
public string fax { get; set; }
|
||||
public string mobile { get; set; }
|
||||
public string email { get; set; }
|
||||
public string web { get; set; }
|
||||
public string vip { get; set; }
|
||||
public string sec { get; set; }
|
||||
public string cropsno { get; set; }
|
||||
public string cropname { get; set; }
|
||||
public string fancy { get; set; }
|
||||
public string remark { get; set; }
|
||||
|
||||
public int amount { get; set; }
|
||||
public int days { get; set; }
|
||||
public decimal consume01 { get; set; }
|
||||
|
||||
public decimal consume02 { get; set; }
|
||||
|
||||
public decimal consume03 { get; set; }
|
||||
|
||||
public decimal consume04 { get; set; }
|
||||
public string log_id { get; set; }
|
||||
public string log_shift { get; set; }
|
||||
public DateTime? log_date { get; set; }
|
||||
public string log_ip { get; set; }
|
||||
public int times { get; set; }
|
||||
public int logmark { get; set; }
|
||||
public string rmcode { get; set; }
|
||||
public string mkt { get; set; }
|
||||
public string src { get; set; }
|
||||
public string isowner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 入职日期
|
||||
/// </summary>
|
||||
public DateTime createdate { get; set; }
|
||||
|
||||
public string PERNR { get; set; }
|
||||
|
||||
public string WERKS { get; set; }
|
||||
|
||||
public string ZSTATUS { get; set; }
|
||||
|
||||
public string KOSTL { get; set; }
|
||||
|
||||
public string ZZ_ZD { get; set; }
|
||||
|
||||
public string Z_ZJ { get; set; }
|
||||
|
||||
public string STELL { get; set; }
|
||||
|
||||
public string STELL_NM { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 离职日期
|
||||
/// </summary>
|
||||
public DateTime? ZLZRQ { get; set; }
|
||||
|
||||
public string MASSN { get; set; }
|
||||
|
||||
public string MNTXT { get; set; }
|
||||
public string MASSG { get; set; }
|
||||
public string MGTXT { get; set; }
|
||||
public DateTime? logdate { get; set; }
|
||||
public DateTime? updatelogdate { get; set; }
|
||||
public string guestno { get; set; }
|
||||
public string ZZ_KLX { get; set; }
|
||||
public DateTime? DAT01 { get; set; }
|
||||
|
||||
public string ZZ_COUNNM { get; set; }
|
||||
public string ZZ_GZDJDNM { get; set; }
|
||||
public string ZZ_GZDCQNM { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class UpdateColumnAttribute : Attribute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class PkColumnAttribute : Attribute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class IgnoreColumnAttribute : Attribute
|
||||
{
|
||||
|
||||
}
|
||||
105
Src/Dlhis.Entity/Basic/Entity/GainfoSapEntity.cs
Normal file
105
Src/Dlhis.Entity/Basic/Entity/GainfoSapEntity.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
[SugarTable(TableName = "GainfoSap")]
|
||||
public class GainfoSapEntity
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string ano { get; set; }
|
||||
public string @class { get; set; }
|
||||
|
||||
public string passwd { get; set; }
|
||||
public string question { get; set; }
|
||||
|
||||
public string answer { get; set; }
|
||||
public string gname { get; set; }
|
||||
|
||||
public string ename { get; set; }
|
||||
|
||||
public string country { get; set; }
|
||||
public string idcls { get; set; }
|
||||
public string idno { get; set; }
|
||||
public string native { get; set; }
|
||||
public string sex { get; set; }
|
||||
public DateTime birthday { get; set; }
|
||||
public string address { get; set; }
|
||||
public string postcode { get; set; }
|
||||
public string occupation { get; set; }
|
||||
public string appellation { get; set; }
|
||||
public string nation { get; set; }
|
||||
public string phone { get; set; }
|
||||
public string fax { get; set; }
|
||||
public string mobile { get; set; }
|
||||
public string email { get; set; }
|
||||
public string web { get; set; }
|
||||
public string vip { get; set; }
|
||||
public string sec { get; set; }
|
||||
public string cropsno { get; set; }
|
||||
public string cropname { get; set; }
|
||||
public string fancy { get; set; }
|
||||
public string remark { get; set; }
|
||||
|
||||
public int amount { get; set; }
|
||||
public int days { get; set; }
|
||||
public decimal consume01 { get; set; }
|
||||
|
||||
public decimal consume02 { get; set; }
|
||||
|
||||
public decimal consume03 { get; set; }
|
||||
|
||||
public decimal consume04 { get; set; }
|
||||
public string log_id { get; set; }
|
||||
public string log_shift { get; set; }
|
||||
public DateTime? log_date { get; set; }
|
||||
public string log_ip { get; set; }
|
||||
public int times { get; set; }
|
||||
public int logmark { get; set; }
|
||||
public string rmcode { get; set; }
|
||||
public string mkt { get; set; }
|
||||
public string src { get; set; }
|
||||
public string isowner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 入职日期
|
||||
/// </summary>
|
||||
public DateTime createdate { get; set; }
|
||||
|
||||
public string PERNR { get; set; }
|
||||
|
||||
public string WERKS { get; set; }
|
||||
|
||||
public string ZSTATUS { get; set; }
|
||||
|
||||
public string KOSTL { get; set; }
|
||||
|
||||
public string ZZ_ZD { get; set; }
|
||||
|
||||
public string Z_ZJ { get; set; }
|
||||
|
||||
public string STELL { get; set; }
|
||||
|
||||
public string STELL_NM { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 离职日期
|
||||
/// </summary>
|
||||
public DateTime? ZLZRQ { get; set; }
|
||||
|
||||
public string MASSN { get; set; }
|
||||
|
||||
public string MNTXT { get; set; }
|
||||
public string MASSG { get; set; }
|
||||
public string MGTXT { get; set; }
|
||||
public DateTime? logdate { get; set; }
|
||||
public DateTime? updatelogdate { get; set; }
|
||||
public string guestno { get; set; }
|
||||
public string ZZ_KLX { get; set; }
|
||||
public DateTime? DAT01 { get; set; }
|
||||
|
||||
public string ZZ_COUNNM { get; set; }
|
||||
public string ZZ_GZDJDNM { get; set; }
|
||||
public string ZZ_GZDCQNM { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
[SugarTable(TableName = "OutSources")]
|
||||
public class OutSourceEntity : SugarBaseEntity
|
||||
{
|
||||
public string Code { get; set; }
|
||||
}
|
||||
36
Src/Dlhis.Entity/Basic/Entity/OutsourceEntity.cs
Normal file
36
Src/Dlhis.Entity/Basic/Entity/OutsourceEntity.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 外包人员
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "Outsource", TableDescription = "外包人员")]
|
||||
public class OutsourceEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 外包人员工号 LS开头
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工号")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "供应商")]
|
||||
public string Supplier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对接人员工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "对接人工号")]
|
||||
public string SapCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对接人员手机号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "对接人手机号")]
|
||||
public string SapPhone { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,45 @@
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 点位图数据
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "PointMapDetail", TableDescription = "点位图数据")]
|
||||
public class PointMapDetailEntity : SugarBaseEntity, ITenantId
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 点位图code
|
||||
/// 点位图数据
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "点位图code")]
|
||||
public Guid PointMapCode { get; set; }
|
||||
[SugarTable(TableName = "PointMapDetail", TableDescription = "点位图数据")]
|
||||
public class PointMapDetailEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 点位图code
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "点位图code")]
|
||||
public Guid PointMapCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据code
|
||||
/// </summary>
|
||||
public Guid UniqueCode { get; set; }
|
||||
/// <summary>
|
||||
/// 数据code
|
||||
/// </summary>
|
||||
public Guid UniqueCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "数据类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public PointMapDetailEnumType Type { get; set; }
|
||||
/// <summary>
|
||||
/// 数据类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "数据类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public PointMapDetailEnumType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// XYZ
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "XYZ")]
|
||||
public string Position { get; set; }
|
||||
/// <summary>
|
||||
/// XYZ
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "XYZ")]
|
||||
public string Position { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,36 +1,37 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 点位图
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "PointMaps", TableDescription = "点位图")]
|
||||
public class PointMapEntity : SugarBaseEntity, ITenantId, IImageUrl
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// code
|
||||
/// 点位图
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "code")]
|
||||
public Guid Code { get; set; }
|
||||
[SugarTable(TableName = "PointMaps", TableDescription = "点位图")]
|
||||
public class PointMapEntity : SugarBaseEntity, ITenantId, IImageUrl
|
||||
{
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "点位名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "图片地址")]
|
||||
public string ImageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 位置名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "点位名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 图
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "图片地址")]
|
||||
public string ImageUrl { get; set; }
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Canteen.Entities;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Canteen.Entities;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Kurisu.SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Common;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Common;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Device.Entities;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Device.Entities;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Kurisu.SqlSugar" Version="0.3.2" />
|
||||
<PackageReference Include="Kurisu.AspNetCore" Version="0.9.11" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Sys.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Dlhis.Entity.Sys.Enums;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using Dlhis.Entity.Sys.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
@@ -10,7 +9,7 @@ namespace Dlhis.Entity.Sys.Entities;
|
||||
/// 菜单权限
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "MenuPermission", TableDescription = "菜单权限")]
|
||||
public class MenuPermissionEntity : SugarBaseEntity, ITenantId
|
||||
public class MenuPermissionEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 权限分配类型
|
||||
@@ -29,7 +28,4 @@ public class MenuPermissionEntity : SugarBaseEntity, ITenantId
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "菜单code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Visitor.Entity;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Dlhis.Entity.Visitor.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
using Dlhis.Entity.Visitor.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using Kurisu.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Visitor.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 预约区域
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "ApponintmentArea", TableDescription = "预约区域")]
|
||||
public class ApponintmentAreaEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 区域类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "区域类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public AppointmentAreaEnumType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义编码
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "自定义编码", UniqueGroupNameList = new[] { "idx_aa_cc_tid" })]
|
||||
public string CustomCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 基地/租户
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = " 基地/租户", UniqueGroupNameList = new[] { "idx_aa_cc_tid" })]
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using Dlhis.Entity.Visitor.Enums;
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Kurisu.SqlSugar;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Visitor.Entity;
|
||||
|
||||
Reference in New Issue
Block a user