123 lines
3.8 KiB
C#
123 lines
3.8 KiB
C#
//----------rf_flowbutton开始----------
|
||
|
||
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_flowbutton
|
||
/// </summary>
|
||
[Table("rf_flowbutton")]
|
||
[Serializable]
|
||
public partial class rf_flowbutton: BaseEntity {
|
||
/// <summary>
|
||
/// 按钮标题
|
||
/// </summary>
|
||
|
||
[Display(Name="按钮标题")]
|
||
[Column("Title")]
|
||
[DataMember]
|
||
public string Title {get;set;}
|
||
/// <summary>
|
||
/// 按钮图标
|
||
/// </summary>
|
||
|
||
[Display(Name="按钮图标")]
|
||
[Column("Ico")]
|
||
[DataMember]
|
||
public string Ico {get;set;}
|
||
/// <summary>
|
||
/// 按钮脚本
|
||
/// </summary>
|
||
|
||
[Display(Name="按钮脚本")]
|
||
[Column("Script")]
|
||
[DataMember]
|
||
public string Script {get;set;}
|
||
/// <summary>
|
||
/// 备注说明
|
||
/// </summary>
|
||
|
||
[Display(Name="备注说明")]
|
||
[Column("Note")]
|
||
[DataMember]
|
||
public string Note {get;set;}
|
||
/// <summary>
|
||
/// 排序
|
||
/// </summary>
|
||
|
||
[Display(Name="排序")]
|
||
[Column("Sort")]
|
||
[DataMember]
|
||
public int Sort {get;set;}
|
||
/// <summary>
|
||
/// 标题英语
|
||
/// </summary>
|
||
|
||
[Display(Name="标题英语")]
|
||
[Column("Title_en")]
|
||
[DataMember]
|
||
public string Title_en {get;set;}
|
||
/// <summary>
|
||
/// 标题繁体中文
|
||
/// </summary>
|
||
|
||
[Display(Name="标题繁体中文")]
|
||
[Column("Title_zh")]
|
||
[DataMember]
|
||
public string Title_zh {get;set;}
|
||
/// <summary>
|
||
/// 备注英语
|
||
/// </summary>
|
||
|
||
[Display(Name="备注英语")]
|
||
[Column("Note_en")]
|
||
[DataMember]
|
||
public string Note_en {get;set;}
|
||
/// <summary>
|
||
/// 备注繁体中文
|
||
/// </summary>
|
||
|
||
[Display(Name="备注繁体中文")]
|
||
[Column("Note_zh")]
|
||
[DataMember]
|
||
public string Note_zh {get;set;}
|
||
|
||
public override string ToString()
|
||
{
|
||
return JSON.Serialize(this);
|
||
}
|
||
}
|
||
|
||
/**
|
||
/// <summary>
|
||
/// 数据表实体类Map:rf_flowbutton
|
||
/// </summary>
|
||
public class rf_flowbuttonMap : EntityTypeConfiguration<rf_flowbutton>
|
||
{
|
||
public rf_flowbuttonMap()
|
||
{
|
||
this.ToTable("rf_flowbutton");
|
||
this.HasKey(t => t.Id);
|
||
this.Property(t => t.Title).HasColumnName("Title").IsRequired();
|
||
this.Property(t => t.Ico).HasColumnName("Ico");
|
||
this.Property(t => t.Script).HasColumnName("Script");
|
||
this.Property(t => t.Note).HasColumnName("Note");
|
||
this.Property(t => t.Sort).HasColumnName("Sort").IsRequired();
|
||
this.Property(t => t.Title_en).HasColumnName("Title_en");
|
||
this.Property(t => t.Title_zh).HasColumnName("Title_zh");
|
||
this.Property(t => t.Note_en).HasColumnName("Note_en");
|
||
this.Property(t => t.Note_zh).HasColumnName("Note_zh");
|
||
}
|
||
}
|
||
**/
|
||
|
||
}
|
||
|
||
//----------rf_flowbutton结束----------
|
||
|
||
|