namespace OpenAuth.App.Shape.Request;

public class PublishLayerReq
{
    /// <summary>
    /// 数据表名
    /// </summary>
    /// <example></example>
    public string RelationTable { get; set; }

    /// <summary>
    /// 服务名称
    /// </summary>
    /// <example></example>
    public string Name { get; set; }

    /// <summary>
    /// 服务描述
    /// </summary>
    public string Description { get; set; }

    /// <summary>
    /// 空间参考
    /// </summary>
    /// <example>EPSG:4326</example>
    public string Srid { get; set; }

    /// <summary>
    /// 服务类型
    /// </summary>
    /// <example>面</example>
    public string VectorType { get; set; }

    /// <summary>
    /// 样式
    /// </summary>
    /// <example>{"source":{}}</example>
    public string Style { get; set; }

    /// <summary>
    /// 发布时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 属性表
    /// </summary>
    public string AttributeTable { get; set; }

    /// <summary>
    /// 属性关联字段
    /// </summary>
    public string AttributeField { get; set; }
    public string image { get; set; }
}