init commit
This commit is contained in:
105
20220330_Vote/Ewide.RoadFlow/Entity/rf_systembutton.cs
Normal file
105
20220330_Vote/Ewide.RoadFlow/Entity/rf_systembutton.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
//----------rf_systembutton开始----------
|
||||
|
||||
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_systembutton
|
||||
/// </summary>
|
||||
[Table("rf_systembutton")]
|
||||
[Serializable]
|
||||
public partial class rf_systembutton: BaseEntity {
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="名称")]
|
||||
[Column("Name")]
|
||||
[DataMember]
|
||||
public string Name {get;set;}
|
||||
/// <summary>
|
||||
/// 脚本
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="脚本")]
|
||||
[Column("Events")]
|
||||
[DataMember]
|
||||
public string Events {get;set;}
|
||||
/// <summary>
|
||||
/// 图标
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="图标")]
|
||||
[Column("Ico")]
|
||||
[DataMember]
|
||||
public string Ico {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("Name_en")]
|
||||
[DataMember]
|
||||
public string Name_en {get;set;}
|
||||
/// <summary>
|
||||
/// 繁体中文名称
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="繁体中文名称")]
|
||||
[Column("Name_zh")]
|
||||
[DataMember]
|
||||
public string Name_zh {get;set;}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JSON.Serialize(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/// <summary>
|
||||
/// 数据表实体类Map:rf_systembutton
|
||||
/// </summary>
|
||||
public class rf_systembuttonMap : EntityTypeConfiguration<rf_systembutton>
|
||||
{
|
||||
public rf_systembuttonMap()
|
||||
{
|
||||
this.ToTable("rf_systembutton");
|
||||
this.HasKey(t => t.Id);
|
||||
this.Property(t => t.Name).HasColumnName("Name").IsRequired();
|
||||
this.Property(t => t.Events).HasColumnName("Events").IsRequired();
|
||||
this.Property(t => t.Ico).HasColumnName("Ico");
|
||||
this.Property(t => t.Note).HasColumnName("Note");
|
||||
this.Property(t => t.Sort).HasColumnName("Sort").IsRequired();
|
||||
this.Property(t => t.Name_en).HasColumnName("Name_en");
|
||||
this.Property(t => t.Name_zh).HasColumnName("Name_zh");
|
||||
}
|
||||
}
|
||||
**/
|
||||
|
||||
}
|
||||
|
||||
//----------rf_systembutton结束----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user