2025-06-16 17:24:23 +08:00

29 lines
920 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Syc.Basic.Web.Dtos.Dict
{
public class DictionaryInfoDto:Input
{
//[Required(ErrorMessage = "字典编码必填!"),MaxLength(50,ErrorMessage = "字典编码最长不超过 50")]
public string code { get; set; }
[Required(ErrorMessage = "Key必填"), MaxLength(50, ErrorMessage = "Key最长不超过 50")]
public string key { get; set; }
public DateTime createdAt { get; set; }
[Required(ErrorMessage = "标题必填!"), MaxLength(50, ErrorMessage = "标题最长不超过 50")]
public string title { get; set; }
[MaxLength(50, ErrorMessage = "标题最长不超过 50")]
public string desc { get; set; }
public bool status { get; set; }
}
}