tuiwucarrer/Admin.NET/Admin.NET.Application/Service/CePing/BusScaleDescription/Dto/BusScaleDescriptionInput.cs

62 lines
1.4 KiB
C#

using Admin.NET.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application
{
/// <summary>
/// 量表描述输入参数
/// </summary>
public class BusScaleDescriptionInput : BasePageInput
{
/// <summary>
/// ScaleId
/// </summary>
public virtual long ScaleId { get; set; }
/// <summary>
/// 介绍
/// </summary>
public virtual string Introduce { get; set; }
/// <summary>
/// 应用
/// </summary>
public virtual string Application { get; set; }
/// <summary>
/// 须知
/// </summary>
public virtual string Notice { get; set; }
/// <summary>
/// Sort排序
/// </summary>
public virtual int Sort { get; set; }
}
public class AddBusScaleDescriptionInput : BusScaleDescriptionInput
{
}
public class DeleteBusScaleDescriptionInput : BaseIdInput
{
}
public class UpdateBusScaleDescriptionInput : BusScaleDescriptionInput
{
/// <summary>
/// Id主键
/// </summary>
[Required(ErrorMessage = "Id主键不能为空")]
public long Id { get; set; }
}
public class QueryeBusScaleDescriptionInput : BaseIdInput
{
}
}