using SqlSugar; namespace LY.App.Model { /// /// 位置信息 /// [SugarTable("ly_position")] public class PositionInfo : MultPolygonEntity { /// /// 名称 /// [SugarColumn(Length = 63, IsNullable = true, ColumnDescription = "名称")] public string Name { get; set; } /// /// 地址 /// [SugarColumn(IsNullable = true, ColumnDescription = "地址")] public string Address { get; set; } /// /// 联系人 /// [SugarColumn(Length = 63, IsNullable = true, ColumnDescription = "联系人")] public string ContactName { get; set; } /// /// 联系人电话 /// [SugarColumn(Length = 31, IsNullable = true, ColumnDescription = "联系人电话")] public string ContactTel { get; set; } /// /// 图片 /// [SugarColumn(IsNullable = true, ColumnDescription = "图片地址", ColumnName = "img")] public string Img { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true, ColumnDescription = "备注")] public string Remarks { get; set; } } /// /// 添加 /// public class AddPosition { /// /// 名称 /// public string Name { get; set; } /// /// 空间数据geojson /// public string RegionJson { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 联系人 /// public string ContactName { get; set; } /// /// 联系人电话 /// public string ContactTel { get; set; } /// /// 图片 /// public string Img { get; set; } /// /// 备注 /// public string Remarks { get; set; } } /// /// 更新 /// public class UpdatePosition : AddPosition { /// /// 主键id /// public long Id { get; set; } } }