using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Application
|
{
|
/// <summary>
|
/// BindingID 输入
|
/// </summary>
|
public class BindingIDInput
|
{
|
/// <summary>
|
/// 绑定类型
|
/// </summary>
|
[Required, DataValidation(AllowEmptyStrings = false)]
|
public string BindingType { get; set; }
|
|
/// <summary>
|
/// 绑定标识
|
/// </summary>
|
[Required, Range(1, long.MaxValue, ErrorMessage = "BelongID 必须大于0")]
|
public long BindingID { get; set; }
|
|
}
|
}
|