update 项目管理接口
This commit is contained in:
42
Api/Ewide.Application/Entity/BsHouseProjectInfo.cs
Normal file
42
Api/Ewide.Application/Entity/BsHouseProjectInfo.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.Application.Entity
|
||||
{
|
||||
[Table("bs_house_projectinfo")]
|
||||
[Comment("项目表")]
|
||||
public class BsHouseProjectInfo : Core.DEntityBase
|
||||
{
|
||||
[Comment("名称")]
|
||||
[MaxLength(100)]
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Comment("备注")]
|
||||
[MaxLength(1000)]
|
||||
public string Note { get; set; }
|
||||
|
||||
[Comment("排序")]
|
||||
[Required]
|
||||
public int Sort { get; set; }
|
||||
|
||||
[Comment("区域ID")]
|
||||
[MaxLength(36)]
|
||||
[Required]
|
||||
public string AreaId { get; set; }
|
||||
|
||||
[Comment("区域名称")]
|
||||
[MaxLength(500)]
|
||||
public string AreaName { get; set; }
|
||||
|
||||
[Comment("类型")]
|
||||
[Required]
|
||||
public int Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
using Ewide.Core;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Ewide.Application
|
||||
{
|
||||
/// <summary>
|
||||
/// 代码生成实体测试(EF)
|
||||
/// </summary>
|
||||
[Table("code_gen_test")]
|
||||
[Comment("代码生成业务")]
|
||||
public class CodeGenTest : DEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[Comment("名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
[Comment("昵称")]
|
||||
public string NickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// </summary>
|
||||
[Comment("生日")]
|
||||
public DateTimeOffset Birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 年龄
|
||||
/// </summary>
|
||||
[Comment("年龄")]
|
||||
public int Age { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Ewide.Application
|
||||
{
|
||||
/// <summary>
|
||||
/// SqlSugar实体
|
||||
/// </summary>
|
||||
[SugarTable("Test", TableDescription = "我的业务表")]
|
||||
public class Test
|
||||
{
|
||||
/// <summary>
|
||||
/// 雪花Id
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "Nvarchar(32)")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 年龄
|
||||
/// </summary>
|
||||
public int Age { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public DateTimeOffset CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user