using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewide.Core.Service.Area.Dto
{
    public class AreaCodeInput : InputBase
    {
        public string Code { get; set; }
        public string AdCode { get; set; }
        public string Name { get; set; }
        public int? LevelType { get; set; }
        public string Note { get; set; }
        public int Sort { get; set; }
        public string Pcode { get; set; }
    }
    public class UpdateAreaCodeInput
    {
        public string AdCode { get; set; }
        public string Name { get; set; }
        public int? LevelType { get; set; }
        public string Note { get; set; }
        public int Sort { get; set; }
    }
    public class DeleteAreaCodeInput
    {
        [Required(ErrorMessage ="区域代码不可为空")]
        public string Code { get; set; }
    }
}
