using SqlSugar;
namespace OpenAuth.Repository.Domain
{
[SugarTable("shp_layer_source")]
public class ShpLayerSource
{
[SugarColumn(IsPrimaryKey = true, ColumnName = "id")]
public string Id { get; set; }
///
/// 图层名称
///
///
[SugarColumn(ColumnName = "name")]
public string Name { get; set; }
///
/// 描述
///
[SugarColumn(ColumnName = "description")]
public string Description { get; set; }
[SugarColumn(ColumnName = "type")] public int Type { get; set; }
[SugarColumn(ColumnName = "image")] public string Image { get; set; }
///
/// 关联表
///
[SugarColumn(ColumnName = "relation_table")]
public string RelationTable { get; set; }
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "create_id")]
public string CreateId { get; set; }
///
/// 空间参考
///
[SugarColumn(ColumnName = "srid")]
public string Srid { get; set; }
///
/// 图层发布状态
/// 0:未发布
/// 1:已发布
///
[SugarColumn(ColumnName = "status")]
public int? Status { get; set; }
///
/// shp 压缩文件路径
///
[SugarColumn(ColumnName = "shp_path")]
public string ShpPath { get; set; }
///
/// 样式
///
[SugarColumn(ColumnName = "style")]
public string Style { get; set; }
[SugarColumn(ColumnName = "vector_type")]
public string VectorType { get; set; }
///
/// 属性表
///
[SugarColumn(ColumnName = "attribute_table")]
public string AttributeTable { get; set; }
///
/// 属性关联字段
///
[SugarColumn(ColumnName = "attribute_field")]
public string AttributeField { get; set; }
}
}