tuiwucarrer/Admin.NET/Admin.NET.Application/Service/CePing/BusScaleQuestions/Dto/BusScaleQuestionsInput.cs

81 lines
1.6 KiB
C#

using Admin.NET.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application
{
/// <summary>
/// 量表试题输入参数
/// </summary>
public class BusScaleQuestionsInput : BasePageInput
{
/// <summary>
/// 量表类型
/// </summary>
public virtual long ScaleId { get; set; }
/// <summary>
/// 试题内容
/// </summary>
public virtual string Context { get; set; }
/// <summary>
/// Sort排序
/// </summary>
public virtual int Sort { get; set; }
}
public class AddBusScaleQuestionsInput : BusScaleQuestionsInput
{
}
public class BusAddScaleQuestionsInput
{
/// <summary>
/// 量表类型
/// </summary>
public virtual long ScaleId { get; set; }
/// <summary>
///
/// </summary>
public List<ScaleQuestionItems> Contexts { get; set; }
}
public class ScaleQuestionItems
{
/// <summary>
/// 量表类型
/// </summary>
public int Sort { get; set; }
public string Contexts { get; set; }
}
public class DeleteBusScaleQuestionsInput : BaseIdInput
{
}
public class UpdateBusScaleQuestionsInput : BusScaleQuestionsInput
{
/// <summary>
/// Id主键
/// </summary>
[Required(ErrorMessage = "Id主键不能为空")]
public long Id { get; set; }
}
public class QueryeBusScaleQuestionsInput : BaseIdInput
{
}
}