init commit
This commit is contained in:
96
20220330_Vote/Ewide.RoadFlow/Entity/rf_programvalidate.cs
Normal file
96
20220330_Vote/Ewide.RoadFlow/Entity/rf_programvalidate.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
//----------rf_programvalidate开始----------
|
||||
|
||||
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_programvalidate
|
||||
/// </summary>
|
||||
[Table("rf_programvalidate")]
|
||||
[Serializable]
|
||||
public partial class rf_programvalidate: BaseEntity {
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("ProgramId")]
|
||||
[DataMember]
|
||||
public string ProgramId {get;set;}
|
||||
/// <summary>
|
||||
/// 表名
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="表名")]
|
||||
[Column("TableName")]
|
||||
[DataMember]
|
||||
public string TableName {get;set;}
|
||||
/// <summary>
|
||||
/// 字段名
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="字段名")]
|
||||
[Column("FieldName")]
|
||||
[DataMember]
|
||||
public string FieldName {get;set;}
|
||||
/// <summary>
|
||||
/// 字段说明
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="字段说明")]
|
||||
[Column("FieldNote")]
|
||||
[DataMember]
|
||||
public string FieldNote {get;set;}
|
||||
/// <summary>
|
||||
/// 验证类型 0不检查 1允许为空,非空时检查 2不允许为空,并检查
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="验证类型 0不检查 1允许为空,非空时检查 2不允许为空,并检查")]
|
||||
[Column("ValidateType")]
|
||||
[DataMember]
|
||||
public int ValidateType {get;set;}
|
||||
/// <summary>
|
||||
/// 状态 0编辑 1只读 2隐藏
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="状态 0编辑 1只读 2隐藏")]
|
||||
[Column("Status")]
|
||||
[DataMember]
|
||||
public int Status {get;set;}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JSON.Serialize(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/// <summary>
|
||||
/// 数据表实体类Map:rf_programvalidate
|
||||
/// </summary>
|
||||
public class rf_programvalidateMap : EntityTypeConfiguration<rf_programvalidate>
|
||||
{
|
||||
public rf_programvalidateMap()
|
||||
{
|
||||
this.ToTable("rf_programvalidate");
|
||||
this.Property(t => t.Id).HasColumnName("Id").IsRequired();
|
||||
this.Property(t => t.ProgramId).HasColumnName("ProgramId").IsRequired();
|
||||
this.Property(t => t.TableName).HasColumnName("TableName").IsRequired();
|
||||
this.Property(t => t.FieldName).HasColumnName("FieldName").IsRequired();
|
||||
this.Property(t => t.FieldNote).HasColumnName("FieldNote");
|
||||
this.Property(t => t.ValidateType).HasColumnName("ValidateType").IsRequired();
|
||||
this.Property(t => t.Status).HasColumnName("Status").IsRequired();
|
||||
}
|
||||
}
|
||||
**/
|
||||
|
||||
}
|
||||
|
||||
//----------rf_programvalidate结束----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user