29 lines
920 B
C#
29 lines
920 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|