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