using Furion.DataValidation;
using System.ComponentModel.DataAnnotations;
namespace YBEE.EQM.Core
{
///
/// 主键Id映射DTO
///
public class BaseId : BaseId
{
}
///
/// 主键Id映射DTO
///
public class BaseId
{
///
/// 主键Id
///
[Required(ErrorMessage = "Id不能为空")]
[DataValidation(ValidationTypes.Numeric)]
public TKey Id { get; set; }
}
}