69 lines
1.9 KiB
C#
69 lines
1.9 KiB
C#
//----------rf_flowdynamic开始----------
|
||
|
||
using System;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
//using System.Data.Entity.ModelConfiguration;
|
||
using System.Runtime.Serialization;
|
||
using Furion.JsonSerialization;
|
||
namespace RoadFlow.Model
|
||
{
|
||
/// <summary>
|
||
/// 数据表实体类:rf_flowdynamic
|
||
/// </summary>
|
||
[Table("rf_flowdynamic")]
|
||
[Serializable]
|
||
public partial class rf_flowdynamic: BaseEntity {
|
||
/// <summary>
|
||
/// 动态步骤ID
|
||
/// </summary>
|
||
|
||
[Display(Name="动态步骤ID")]
|
||
[Column("StepId")]
|
||
[DataMember]
|
||
public string StepId {get;set;}
|
||
/// <summary>
|
||
/// 组ID
|
||
/// </summary>
|
||
|
||
[Display(Name="组ID")]
|
||
[Key]
|
||
[Column("GroupId")]
|
||
[DataMember]
|
||
public string GroupId {get;set;}
|
||
/// <summary>
|
||
/// 流程JSON
|
||
/// </summary>
|
||
|
||
[Display(Name="流程JSON")]
|
||
[Column("FlowJSON")]
|
||
[DataMember]
|
||
public string FlowJSON {get;set;}
|
||
|
||
public override string ToString()
|
||
{
|
||
return JSON.Serialize(this);
|
||
}
|
||
}
|
||
|
||
/**
|
||
/// <summary>
|
||
/// 数据表实体类Map:rf_flowdynamic
|
||
/// </summary>
|
||
public class rf_flowdynamicMap : EntityTypeConfiguration<rf_flowdynamic>
|
||
{
|
||
public rf_flowdynamicMap()
|
||
{
|
||
this.ToTable("rf_flowdynamic");
|
||
this.Property(t => t.StepId).HasColumnName("StepId").IsRequired();
|
||
this.HasKey(t => t.GroupId);
|
||
this.Property(t => t.FlowJSON).HasColumnName("FlowJSON").IsRequired();
|
||
}
|
||
}
|
||
**/
|
||
|
||
}
|
||
|
||
//----------rf_flowdynamic结束----------
|
||
|
||
|