完成流程列表

This commit is contained in:
yubaolee
2016-09-07 16:58:08 +08:00
parent 0c82f7b8c3
commit c8dec703a7
22 changed files with 195 additions and 255 deletions

View File

@@ -12,13 +12,13 @@ using OpenAuth.Domain;
namespace OpenAuth.Repository.Models.Mapping
{
public partial class GoodsApplyMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<GoodsApply>
public partial class CommonApplyMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<CommonApply>
{
public GoodsApplyMap()
public CommonApplyMap()
{
// table
ToTable("GoodsApply", "dbo");
ToTable("CommonApply", "dbo");
// keys
HasKey(t => t.Id);
@@ -31,8 +31,8 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("Sort")
.HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
.IsRequired();
Property(t => t.Number)
.HasColumnName("Number")
Property(t => t.ApplyTime)
.HasColumnName("ApplyTime")
.IsRequired();
Property(t => t.Name)
.HasColumnName("Name")

View File

@@ -1,39 +0,0 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using OpenAuth.Domain;
namespace OpenAuth.Repository.Models.Mapping
{
public partial class WorkflowInboxMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<WorkflowInbox>
{
public WorkflowInboxMap()
{
// table
ToTable("WorkflowInbox", "dbo");
// keys
HasKey(t => t.Id);
// Properties
Property(t => t.Id)
.HasColumnName("Id")
.IsRequired();
Property(t => t.ProcessId)
.HasColumnName("ProcessId")
.IsRequired();
Property(t => t.IdentityId)
.HasColumnName("IdentityId")
.IsRequired();
// Relationships
}
}
}