using Furion.DataValidation;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YBDevice.Application.AdInfo
{
///
/// 咨询类型
///
public class SecInfoTypeCS2Dto
{
///
///
///
public int Id { get; set; }
///
/// 分组名称
///
[Required(ErrorMessage = "名称不可为空"), MaxLength(50, ErrorMessage = "名称最多为50个字")]
public string Name { get; set; }
///
/// 备注
///
[MaxLength(100, ErrorMessage = "备注最多为100个字")]
[DataValidation(AllowEmptyStrings = true, AllowNullValue = true)]
public string Remark { get; set; }
///
/// 排序,数字越小越靠前
///
public int SortCode { get; set; }
}
///
/// 轮播图设备
///
public class BannerEquDto
{
///
/// 设备ID
///
public int equid { get; set; }
///
/// 设备编号
///
public string facecode { get; set; }
///
/// 设备名称
///
public string name { get; set; }
///
/// 是否选中
///
public bool ischecked { get; set; }
///
/// 是否全选
///
public bool isall { get; set; } = false;
}
}