265 lines
8.3 KiB
C#
265 lines
8.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Hg.Core.Domain.Dto.Order
|
|
{
|
|
public class QueryCheckDto
|
|
{
|
|
public int? id { get; set; }
|
|
public string? resid { get; set; }
|
|
public int? orderid { get; set; }
|
|
}
|
|
|
|
public class CheckEditDto
|
|
{
|
|
public int? Id { get; set; }
|
|
public int? OrderId { get; set; }
|
|
public string? ResId { get; set; }
|
|
public string? CheckTime { get; set; }
|
|
public int? Eid { get; set; }
|
|
public string? EName { get; set; }
|
|
}
|
|
|
|
public class CheckLogModel
|
|
{
|
|
public int Id { get; set; }
|
|
public HGCheckStatus? CheckStatus { get; set; }
|
|
public string CheckStatusName { get; set; }
|
|
public string OrderId { get; set; }
|
|
public HGCheckType? CheckType { get; set; }
|
|
public string CheckTypeName { get; set; }
|
|
public string Source { get; set; }
|
|
|
|
/// <summary>
|
|
/// 合规情况
|
|
/// </summary>
|
|
public string Condition { get; set; }
|
|
|
|
public string Conditiontext { get; set; }
|
|
public string Content { get; set; }
|
|
public string Suggest { get; set; }
|
|
public DateTime? CheckTime { get; set; }
|
|
public int? Eid { get; set; }
|
|
public string Ename { get; set; }
|
|
}
|
|
|
|
public class CheckEditModel
|
|
{
|
|
public int? Id { get; set; }
|
|
public List<CheckOrderModel> CheckOrders { get; set; }
|
|
public string? HgCheckSetting { get; set; }
|
|
public OrderInfo OrderInfo { get; set; }
|
|
}
|
|
|
|
public class CheckOrderModel
|
|
{
|
|
public DateTime? CTIME { get; set; }
|
|
public int? value { get; set; }
|
|
public string? name { get; set; }
|
|
public string? Exuserid { get; set; }
|
|
}
|
|
|
|
public class OrderInfo
|
|
{
|
|
public List<int> OrderId { get; set; }
|
|
public List<string> Exuserid { get; set; }
|
|
public string? QiWeiUrl { get; set; }
|
|
}
|
|
|
|
public class CheckOrderListModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string? OrderIds { get; set; }
|
|
public DateTime? CheckTime { get; set; }
|
|
public string? Ename { get; set; }
|
|
public int? Row { get; set; }
|
|
public string? Result { get; set; }
|
|
public List<CheckDetail> CheckDetails { get; set; }
|
|
}
|
|
|
|
public class CheckDetail
|
|
{
|
|
public int? Id { get; set; }
|
|
public int? CheckType { get; set; }
|
|
public string? CheckTypeName { get; set; }
|
|
public string? ShowSource { get; set; }
|
|
public List<int> condition { get; set; }
|
|
public string? conditionText { get; set; }
|
|
public string content { get; set; }
|
|
public string suggest { get; set; }
|
|
public List<HG_CheckQualityLogSource> Source { get; set; }
|
|
}
|
|
|
|
public class CheckNewOrderListModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string? OrderIds { get; set; }
|
|
public DateTime? CheckTime { get; set; }
|
|
public string? Ename { get; set; }
|
|
public int? Row { get; set; }
|
|
public string? Result { get; set; }
|
|
public int? DetailId { get; set; }
|
|
public int? CheckType { get; set; }
|
|
public string? CheckTypeName { get; set; }
|
|
public string? ShowSource { get; set; }
|
|
public List<int> condition { get; set; }
|
|
public string? conditionText { get; set; }
|
|
public string content { get; set; }
|
|
public string suggest { get; set; }
|
|
}
|
|
|
|
#region 保存
|
|
|
|
public class CheckSaveDto
|
|
{
|
|
public int? Id { get; set; }
|
|
public HGCheckStatus? checkstatus { get; set; }
|
|
public List<int> orderids { get; set; }
|
|
public List<CheckLogDetail> children { get; set; }
|
|
public int? eid { get; set; }
|
|
public string? ename { get; set; }
|
|
public string? checktime { get; set; }
|
|
}
|
|
|
|
public class CheckLogDetail
|
|
{
|
|
public int? id { get; set; }
|
|
public int? checktype { get; set; }
|
|
public List<AuditDetail> audio { get; set; } = new List<AuditDetail>();
|
|
public List<QiWeMsg> qiMsg { get; set; } = new List<QiWeMsg>();
|
|
public List<int> condition { get; set; }
|
|
public string content { get; set; }
|
|
public string suggest { get; set; }
|
|
}
|
|
|
|
public class AuditDetail
|
|
{
|
|
public int? recordid { get; set; }
|
|
}
|
|
|
|
public class QiWeMsg
|
|
{
|
|
public string corpid { get; set; }
|
|
public string corpname { get; set; }
|
|
public string extuserid { get; set; }
|
|
public string userid { get; set; }
|
|
public int? eid { get; set; }
|
|
public string? ename { get; set; }
|
|
}
|
|
|
|
public class HgCheckSetting
|
|
{
|
|
public string name { get; set; }
|
|
public int value { get; set; }
|
|
public List<HgCheckSetting> children { get; set; }
|
|
}
|
|
|
|
public class InitEditModel
|
|
{
|
|
public CheckSaveDto CheckSaveDto { get; set; }
|
|
|
|
public List<CheckNewOrderListModel> CheckNewOrderListModel { get; set; }
|
|
public CheckEditModel? Setting { get; set; }
|
|
}
|
|
|
|
public class CheckOrderQueryDto : SearchPageBase
|
|
{
|
|
public string? cname { get; set; }
|
|
public string? resId { get; set; }
|
|
public string? UMID { get; set; }
|
|
public int? orderId { get; set; }
|
|
public string? channel { get; set; }
|
|
public int? checkStatus { get; set; }
|
|
public DateTime? cstart { get; set; }
|
|
public DateTime? cend { get; set; }
|
|
public DateTime? kstime { get; set; }
|
|
public DateTime? ketime { get; set; }
|
|
public string? auditname { get; set; }
|
|
public int? checktype { get; set; }
|
|
public string? condition { get; set; }
|
|
public DateTime? ckstime { get; set; }
|
|
public DateTime? cketime { get; set; }
|
|
|
|
public string? checkname { get; set; }
|
|
}
|
|
|
|
public class CheckOrderList
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string? ResId { get; set; }
|
|
public string? UMID { get; set; }
|
|
public string? CNAME { get; set; }
|
|
public int? CHANNEL { get; set; }
|
|
public string? CHANNELNAME { get; set; }
|
|
public string CTime { get; set; }
|
|
public HGCheckStatus? checkStatus { get; set; } = 0;
|
|
|
|
public string? checkStatusName
|
|
{ get { if (checkStatus == null) { checkStatus = 0; } return checkStatus.GetDescription(); } }
|
|
|
|
public string? innerUserName { get; set; }
|
|
public string? AuditTime { get; set; }
|
|
public string? AuditName { get; set; }
|
|
public string? OrderIds { get; set; }
|
|
public DateTime? CheckTime { get; set; }
|
|
public string? Ename { get; set; }
|
|
public int? Row { get; set; }
|
|
public string? Result { get; set; }
|
|
public int? DetailId { get; set; }
|
|
public int? CheckType { get; set; }
|
|
public string? CheckTypeName { get; set; }
|
|
public string? ShowSource { get; set; }
|
|
public List<int> condition { get; set; }
|
|
public string? conditionText { get; set; }
|
|
public string content { get; set; }
|
|
public string suggest { get; set; }
|
|
}
|
|
|
|
#endregion 保存
|
|
|
|
public class HgCheckQualityNoticeDto
|
|
{
|
|
//public string NoticeNo { get; set; }
|
|
public DateTime NoticeDate { get; set; }
|
|
//public string FromDept { get; set; }
|
|
//public string FromDeptName { get; set; }
|
|
// public string ToDept { get; set; }
|
|
//public string ToDeptName { get; set; }
|
|
public string Content { get; set; }
|
|
public int NoticeCreator { get; set; }
|
|
public int ToEid { get; set; }
|
|
public string NoticeCreatorName { get; set; }
|
|
public List<PersonInfo> PersonList { get; set; }
|
|
}
|
|
|
|
public class EditHgCheckQualityNoticeDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string Content { get; set; }
|
|
}
|
|
|
|
public class PersonInfo
|
|
{
|
|
public string NoticeLevel { get; set; }
|
|
public int Eid { get; set; }
|
|
}
|
|
|
|
public class QualityNoticeOption
|
|
{
|
|
public int id { get; set; }
|
|
public int eid { get; set; }
|
|
public string opinion { get; set; }
|
|
public string NoticeLevel { get; set; }
|
|
}
|
|
|
|
public class QualityPunish
|
|
{
|
|
public int id { get; set; }
|
|
public int eid { get; set; }
|
|
public string content { get; set; }
|
|
}
|
|
} |