Files
number_zj/20220330_Vote/Ewide.RoadFlow/Entity/rf_flowdynamic.cs
2022-03-30 17:54:33 +08:00

69 lines
1.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//----------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>
/// 数据表实体类Maprf_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结束----------