You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
398 B

7 months ago
using System.ComponentModel.DataAnnotations;
namespace Entity.Dto.Req
{
/// <summary>
/// 主键Id输入参数
/// </summary>
public class BaseIdReq
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "Id不能为空")]
//[DataValidation(ValidationTypes.Numeric)]
public virtual long Id { get; set; }
}
}