using System.ComponentModel.DataAnnotations; using Dlhis.Entity.Device.Enums; namespace Dlhis.Basic.WorkGrids.Request; public class EFenceSaveRequest { public long? Id { get; set; } [Required] public string Name { get; set; } public string Description { get; set; } [EnumDataType(typeof(DeviceDeployDirectionEnumType))] public DeviceDeployDirectionEnumType DirectionType { get; set; } }