@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.Ask; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2019-04-26 15:09 | |||||
/// 描 述:学生问卷 | |||||
/// </summary> | |||||
public class Ask_TeacherMainMap : EntityTypeConfiguration<Ask_TeacherMainEntity> | |||||
{ | |||||
public Ask_TeacherMainMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("ASK_TEACHERMAIN"); | |||||
//主键 | |||||
this.HasKey(t => t.TMId); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -62,6 +62,7 @@ | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<Compile Include="Ask\Ask_MainOfTeacherMap.cs" /> | <Compile Include="Ask\Ask_MainOfTeacherMap.cs" /> | ||||
<Compile Include="Ask\Ask_TeacherMainMap.cs" /> | |||||
<Compile Include="AssetManagementSystem\Ass_InventoryItemApplyMap.cs" /> | <Compile Include="AssetManagementSystem\Ass_InventoryItemApplyMap.cs" /> | ||||
<Compile Include="AssetManagementSystem\Ass_PurchaseItemApplyMap.cs" /> | <Compile Include="AssetManagementSystem\Ass_PurchaseItemApplyMap.cs" /> | ||||
<Compile Include="AssetManagementSystem\Ass_ScrapItemMap.cs" /> | <Compile Include="AssetManagementSystem\Ass_ScrapItemMap.cs" /> | ||||
@@ -0,0 +1,74 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.Ask | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2019-04-26 15:09 | |||||
/// 描 述:教师问卷 | |||||
/// </summary> | |||||
public class Ask_TeacherMainEntity | |||||
{ | |||||
#region 实体成员 | |||||
/// <summary> | |||||
/// TMId | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("TMID")] | |||||
public string TMId { get; set; } | |||||
/// <summary> | |||||
/// EmpNo | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("EMPNO")] | |||||
public string EmpNo { get; set; } | |||||
/// <summary> | |||||
/// VID | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("VID")] | |||||
public string VID { get; set; } | |||||
/// <summary> | |||||
/// IsAnswer | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("ISANSWER")] | |||||
public bool? IsAnswer { get; set; } | |||||
/// <summary> | |||||
/// TotalScore | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("TOTALSCORE")] | |||||
public decimal? TotalScore { get; set; } | |||||
/// <summary> | |||||
/// CreateDate | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CREATEDATE")] | |||||
public DateTime? CreateDate { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.TMId = Guid.NewGuid().ToString(); | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.TMId = keyValue; | |||||
} | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -74,6 +74,7 @@ | |||||
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherEntity.cs" /> | <Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherEntity.cs" /> | ||||
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherIBLL.cs" /> | <Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherIBLL.cs" /> | ||||
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherService.cs" /> | <Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherService.cs" /> | ||||
<Compile Include="Ask\Ask_TeacherMain\Ask_TeacherMainEntity.cs" /> | |||||
<Compile Include="AssetManagementSystem\Allocation\AllocationBLL.cs" /> | <Compile Include="AssetManagementSystem\Allocation\AllocationBLL.cs" /> | ||||
<Compile Include="AssetManagementSystem\Allocation\AllocationIBLL.cs" /> | <Compile Include="AssetManagementSystem\Allocation\AllocationIBLL.cs" /> | ||||
<Compile Include="AssetManagementSystem\Allocation\AllocationService.cs" /> | <Compile Include="AssetManagementSystem\Allocation\AllocationService.cs" /> | ||||