using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace VOL.Model.Stadium { /// /// 场馆详情 /// public class StadiumDetailsDto : StadiumListDto { /// ///所属省份 /// public string Province { get; set; } /// ///所属城市 /// public string City { get; set; } /// ///所属区域 /// public string Area { get; set; } /// /// 联系电话 /// public string PhoneNo { get; set; } /// /// 纬度 /// public double? Latitude { get; set; } /// /// 经度 /// public double? Longitude { get; set; } /// ///封面图 /// public string CoverImage { get; set; } /// ///介绍 /// public string Intro { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 单位类型 /// public int UnitType { get; set; } /// /// 图片视频列表 /// public List StadiumResourceList { get; set; } /* /// ///用户名 /// public string UserName { get; set; } /// /// 设备编号 /// public List DeviceCode { get; set; } */ } /// /// 场馆资源 /// public class StadiumResourceDto { public int Id { get; set; } /// ///资源类型[1:图片/2:视频] /// public int Type { get; set; } /// /// 资源地址 /// public string Url { get; set; } } }