init commit

This commit is contained in:
路 范
2022-03-30 17:54:33 +08:00
parent df01841625
commit 904bdd16cd
500 changed files with 217251 additions and 0 deletions

View File

@@ -0,0 +1,91 @@
//----------rf_flowcomment开始----------
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
//using System.Data.Entity.ModelConfiguration;
using System.Runtime.Serialization;
using Furion.JsonSerialization;
namespace RoadFlow.Model
{
/// <summary>
/// 数据表实体类rf_flowcomment
/// </summary>
[Table("rf_flowcomment")]
[Serializable]
public partial class rf_flowcomment: BaseEntity, IEqualityComparer<rf_flowcomment>
{
/// <summary>
/// 意见使用人
/// </summary>
[Display(Name="意见使用人")]
[Column("UserId")]
[DataMember]
public string UserId {get;set;}
/// <summary>
/// 类型 0用户添加 1管理员添加
/// </summary>
[Display(Name="类型 0用户添加 1管理员添加")]
[Column("AddType")]
[DataMember]
public int AddType {get;set;}
/// <summary>
/// 意见
/// </summary>
[Display(Name="意见")]
[Column("Comments")]
[DataMember]
public string Comments {get;set;}
/// <summary>
/// 排序
/// </summary>
[Display(Name="排序")]
[Column("Sort")]
[DataMember]
public int Sort {get;set;}
public bool Equals(rf_flowcomment x, rf_flowcomment y)
{
return x.Comments == y.Comments;
}
public int GetHashCode([DisallowNull] rf_flowcomment obj)
{
return obj.Comments.GetHashCode();
}
public override string ToString()
{
return JSON.Serialize(this);
}
}
/**
/// <summary>
/// 数据表实体类Maprf_flowcomment
/// </summary>
public class rf_flowcommentMap : EntityTypeConfiguration<rf_flowcomment>
{
public rf_flowcommentMap()
{
this.ToTable("rf_flowcomment");
this.HasKey(t => t.Id);
this.Property(t => t.UserId).HasColumnName("UserId").IsRequired();
this.Property(t => t.AddType).HasColumnName("AddType").IsRequired();
this.Property(t => t.Comments).HasColumnName("Comments").IsRequired();
this.Property(t => t.Sort).HasColumnName("Sort").IsRequired();
}
}
**/
}
//----------rf_flowcomment结束----------