Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

open-source / open-platform-api

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • open-platform-api
  • ..
  • model
  • BaseMapModel.java
  • fz's avatar
    1.参数非空判断并统一处理参数异常返回提示信息 · 722f877f ...
    2.整理代码,目录归类
    fz committed Dec 23, 2020
    722f877f Browse Files
BaseMapModel.java 363 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package com.glsx.model;


import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@ToString(callSuper = true)
public class BaseMapModel extends Basemodel {
    //经度
    @NotNull(message = "经度不能为空")
    private Double lng;
    //纬度
    @NotNull(message = "纬度不能为空")
    private Double lat;
}