62 lines
1.3 KiB
C#
62 lines
1.3 KiB
C#
using Admin.NET.Core;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Admin.NET.Application
|
|
{
|
|
/// <summary>
|
|
/// 量表类型表输入参数
|
|
/// </summary>
|
|
public class BusScaleInput : BasePageInput
|
|
{
|
|
/// <summary>
|
|
/// 量表类型名称
|
|
/// </summary>
|
|
public virtual string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单选多选
|
|
/// </summary>
|
|
public virtual int? QuestionsType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 量表简介
|
|
/// </summary>
|
|
public virtual string Summary { get; set; }
|
|
|
|
/// <summary>
|
|
/// 量表海报
|
|
/// </summary>
|
|
public virtual string Pic { get; set; }
|
|
|
|
/// <summary>
|
|
/// Sort排序
|
|
/// </summary>
|
|
public virtual int Sort { get; set; }
|
|
|
|
}
|
|
|
|
public class AddBusScaleInput : BusScaleInput
|
|
{
|
|
}
|
|
|
|
public class DeleteBusScaleInput : BaseIdInput
|
|
{
|
|
}
|
|
|
|
public class UpdateBusScaleInput : BusScaleInput
|
|
{
|
|
/// <summary>
|
|
/// Id主键
|
|
/// </summary>
|
|
[Required(ErrorMessage = "Id主键不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class QueryeBusScaleInput : BaseIdInput
|
|
{
|
|
|
|
}
|
|
}
|