update 建档登记保存
This commit is contained in:
@@ -8,11 +8,8 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.Application
|
||||
{
|
||||
public class HouseTaskInput : PageInputBase
|
||||
public class HouseTaskInput
|
||||
{
|
||||
[Required(ErrorMessage = "房屋编码ID不能为空")]
|
||||
public string HouseCodeId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "巡查日期不能为空")]
|
||||
public DateTime PatrolDate { get; set; }
|
||||
|
||||
@@ -39,11 +36,11 @@ namespace Ewide.Application
|
||||
/// </summary>
|
||||
public string OtherInfoFiles { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "巡查初始等级不能为空")]
|
||||
//[Required(ErrorMessage = "巡查初始等级不能为空")]
|
||||
public int InitLevel { get; set; }
|
||||
[Required(ErrorMessage = "巡查损坏等级不能为空")]
|
||||
//[Required(ErrorMessage = "巡查损坏等级不能为空")]
|
||||
public int DamageLevel { get; set; }
|
||||
[Required(ErrorMessage = "巡查综合等级不能为空")]
|
||||
//[Required(ErrorMessage = "巡查综合等级不能为空")]
|
||||
public int ComprehensiveLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -74,17 +71,11 @@ namespace Ewide.Application
|
||||
/// <summary>
|
||||
/// 巡查结果:1正常,-1异常
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "巡查结果不能为空")]
|
||||
//[Required(ErrorMessage = "巡查结果不能为空")]
|
||||
public int PatrolResult { get; set; }
|
||||
|
||||
public string PatrolResultRemark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// -1:退回 0:待处理 1:保存待提交 2:待审核 3:审核通过
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "任务目标状态能为空")]
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上报街道
|
||||
/// </summary>
|
||||
|
||||
@@ -8,5 +8,7 @@ namespace Ewide.Application
|
||||
{
|
||||
public class HouseTaskOutput
|
||||
{
|
||||
public DateTime? PatrolDate { get; set; }
|
||||
public string PatrolUser { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user