SGGL_JT/SUBQHSE/Model/APIItem/HSSE/RectifyNoticesDto.cs

165 lines
3.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections.Generic;
using System;
using System.ComponentModel.DataAnnotations;
namespace Model
{
/// <summary>
/// 隐患整改通知单项
/// </summary>
public class RectifyNoticesDto
{
/// <summary>
/// 项目名称
/// </summary>
[Required(ErrorMessage = "项目名称不能为空")]
public string ProjectId
{
get;
set;
}
/// <summary>
/// 编号
/// </summary>
public string RectifyNoticesCode
{
get;
set;
}
/// <summary>
/// 受检单位名称
/// </summary>
[Required]
public string UnitId
{
get;
set;
}
/// <summary>
/// 单位工程名称
/// </summary>
public string WorkAreaId
{
get;
set;
}
/// <summary>
/// 检查人员身份证号组
/// </summary>
public string CheckManIds
{
get;
set;
}
/// <summary>
/// 检查日期
/// </summary>
public DateTime? CheckedDate
{
get;
set;
}
/// <summary>
/// 隐患类别(1-一般;2-较大;3-重大)
/// </summary>
[Required]
public string HiddenHazardType
{
get;
set;
}
/// <summary>
/// 编制人身份证号
/// </summary>
public string CompleteManId
{
get;
set;
}
/// <summary>
/// 图片
/// </summary>
public string AttachUrl
{
get;
set;
}
/// <summary>
/// 整改前图片
/// </summary>
public string BeAttachUrl
{
get;
set;
}
/// <summary>
/// 整改后图片
/// </summary>
public string AfAttachUrl
{
get;
set;
}
/// <summary>
/// 状态0待提交1待签发2待整改3待复查4:已完成;)
/// </summary>
[Required]
public string States
{
get;
set;
}
/// <summary>
/// 隐患整改明细表
/// </summary>
public List<RectifyNoticesDtoItem> RectifyNoticesDtoItem
{
get;
set;
}
}
/// <summary>
/// 隐患整改通知单整改项
/// </summary>
public class RectifyNoticesDtoItem
{
/// <summary>
/// 具体位置及隐患内容
/// </summary>
public string WrongContent
{
get;
set;
}
/// <summary>
/// 整改要求
/// </summary>
public string Requirement
{
get;
set;
}
/// <summary>
/// 整改前照片
/// </summary>
public string PhotoBeforeUrl
{
get;
set;
}
/// <summary>
/// 整改期限
/// </summary>
public DateTime? LimitTime
{
get;
set;
}
}
}