| | |
| | | using System.ComponentModel.DataAnnotations; |
| | | using HStation.PBS; |
| | | using System.ComponentModel.DataAnnotations; |
| | | |
| | | namespace PBS.Dto |
| | | { |
| | | /// <summary> |
| | | /// 场所 |
| | | ///</summary> |
| | | ///</summary> |
| | | public class UpdatePlaceInput |
| | | { |
| | | /// <summary> |
| | | /// 场所 |
| | | ///</summary> |
| | | /// 场所 |
| | | ///</summary> |
| | | [Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")] |
| | | public long ID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 行政区域标识 |
| | | ///</summary> |
| | | /// 行政区域标识 |
| | | ///</summary> |
| | | [Required, Range(1, long.MaxValue, ErrorMessage = "RegionID 必须大于0")] |
| | | public long RegionID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | ///</summary> |
| | | /// 名称 |
| | | ///</summary> |
| | | [Required] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 场所类型 |
| | | ///</summary> |
| | | public int PlaceType { get; set; } |
| | | /// 场所类型 |
| | | ///</summary> |
| | | public ePlaceType PlaceType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 场所信息 |
| | | ///</summary> |
| | | /// 场所信息 |
| | | ///</summary> |
| | | public string PlaceInfo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 地址 |
| | | ///</summary> |
| | | /// 地址 |
| | | ///</summary> |
| | | public string Address { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 参数 |
| | | ///</summary> |
| | | /// 参数 |
| | | ///</summary> |
| | | public Dictionary<string, string> Paras { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标签 |
| | | ///</summary> |
| | | /// 标签 |
| | | ///</summary> |
| | | public List<string> Flags { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标志 |
| | | ///</summary> |
| | | /// 标志 |
| | | ///</summary> |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说明 |
| | | ///</summary> |
| | | /// 说明 |
| | | ///</summary> |
| | | public string Description { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | | } |