52 lines
1.2 KiB
C#
52 lines
1.2 KiB
C#
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; }
|
|
}
|
|
|
|
}
|