2025年度投票修改

This commit is contained in:
路 范
2025-06-10 19:19:30 +08:00
parent 88316af778
commit 4d17ef84c2
14 changed files with 1096 additions and 8 deletions

View 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; }
}
}