2025年度投票修改
This commit is contained in:
51
20220330_Vote/Vote.Services/Entities/Projects_2025.cs
Normal file
51
20220330_Vote/Vote.Services/Entities/Projects_2025.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using Ewide.Core;
|
||||
using Ewide.Core.Util;
|
||||
using Furion;
|
||||
using Furion.DatabaseAccessor;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Vote.Services.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目表
|
||||
/// </summary>
|
||||
public class Projects_2025 : DEntityBase//, IEntitySeedData<Projects>
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目序号
|
||||
/// </summary>
|
||||
[Comment("项目序号")]
|
||||
public int serial_number { get; set; }
|
||||
/// <summary>
|
||||
/// 工程名称
|
||||
/// </summary>
|
||||
[Comment("工程名称")]
|
||||
public string name { get; set; }
|
||||
/// <summary>
|
||||
/// 项目类型
|
||||
/// </summary>
|
||||
[Comment("项目类型")]
|
||||
public EnumProjectType type { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
public string type_title
|
||||
{
|
||||
get
|
||||
{
|
||||
return type.GetEnumDescription();
|
||||
}
|
||||
}
|
||||
public int is_no_inspection { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user