init commit
This commit is contained in:
87
20220330_Vote/Ewide.RoadFlow/Entity/rf_flowapisystem.cs
Normal file
87
20220330_Vote/Ewide.RoadFlow/Entity/rf_flowapisystem.cs
Normal file
@@ -0,0 +1,87 @@
|
||||
//----------rf_flowapisystem开始----------
|
||||
|
||||
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_flowapisystem
|
||||
/// </summary>
|
||||
[Table("rf_flowapisystem")]
|
||||
[Serializable]
|
||||
public partial class rf_flowapisystem: BaseEntity {
|
||||
/// <summary>
|
||||
/// 系统名称
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="系统名称")]
|
||||
[Column("Name")]
|
||||
[DataMember]
|
||||
public string Name {get;set;}
|
||||
/// <summary>
|
||||
/// 系统标识(不能重复)
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="系统标识(不能重复)")]
|
||||
[Column("SystemCode")]
|
||||
[DataMember]
|
||||
public string SystemCode {get;set;}
|
||||
/// <summary>
|
||||
/// 调用KEY
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="调用KEY")]
|
||||
[Column("SystemIP")]
|
||||
[DataMember]
|
||||
public string SystemIP {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;}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JSON.Serialize(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/// <summary>
|
||||
/// 数据表实体类Map:rf_flowapisystem
|
||||
/// </summary>
|
||||
public class rf_flowapisystemMap : EntityTypeConfiguration<rf_flowapisystem>
|
||||
{
|
||||
public rf_flowapisystemMap()
|
||||
{
|
||||
this.ToTable("rf_flowapisystem");
|
||||
this.HasKey(t => t.Id);
|
||||
this.Property(t => t.Name).HasColumnName("Name").IsRequired();
|
||||
this.Property(t => t.SystemCode).HasColumnName("SystemCode").IsRequired();
|
||||
this.Property(t => t.SystemIP).HasColumnName("SystemIP").IsRequired();
|
||||
this.Property(t => t.Note).HasColumnName("Note");
|
||||
this.Property(t => t.Sort).HasColumnName("Sort").IsRequired();
|
||||
}
|
||||
}
|
||||
**/
|
||||
|
||||
}
|
||||
|
||||
//----------rf_flowapisystem结束----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user