update 项目管理接口

This commit is contained in:
2021-04-28 18:37:07 +08:00
parent eae4496c7b
commit 28e7390a73
12 changed files with 277 additions and 203 deletions

View File

@@ -0,0 +1,52 @@
using Ewide.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Application.Service.HouseProjectInfo.Dto
{
public class HouseProjectInfoInput : XnInputBase
{
public string Name { get; set; }
public string Note { get; set; }
public int Sort { get; set; }
public string AreaID { get; set; }
public string AreaName { get; set; }
public int Type { get; set; }
public DateTimeOffset? CreatedTime { get; set; }
public DateTimeOffset? UpdatedTime { get; set; }
public string CreatedUserId { get; set; }
public string CreatedUserName { get; set; }
public string UpdatedUserId { get; set; }
public string UpdatedUserName { get; set; }
}
public class AddProjectInput : HouseProjectInfoInput
{
[Required(ErrorMessage = "项目ID不可为空")]
public string ID { get; set; }
}
public class UpdateProjectInput
{
public string ID { get; set; }
public string Note { get; set; }
public int Type { get; set; }
public DateTimeOffset? UpdatedTime { get; set; }
public string UpdatedUserId { get; set; }
public string UpdatedUserName { get; set; }
}
public class DeleteProjectInput
{
[Required(ErrorMessage = "项目ID不可为空")]
public string ID { get; set; }
}
public class QueryProjectInput : AddProjectInput
{
}
}