2024-01-24 14:27:40 +08:00
|
|
|
package com.gunshi.project.xyt.model;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
2024-01-25 17:54:14 +08:00
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
2024-01-24 14:27:40 +08:00
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.Date;
|
2024-01-25 17:54:14 +08:00
|
|
|
|
|
|
|
|
import jakarta.validation.constraints.NotBlank;
|
|
|
|
|
import jakarta.validation.constraints.Size;
|
2024-01-24 14:27:40 +08:00
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 行政区划表
|
|
|
|
|
*/
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "行政区划表")
|
2024-01-24 14:27:40 +08:00
|
|
|
@Data
|
|
|
|
|
@TableName(value = "dbo.ST_ADDVCD_D")
|
2024-01-25 17:54:14 +08:00
|
|
|
public class StAddvcdD {
|
2024-01-24 14:27:40 +08:00
|
|
|
/**
|
|
|
|
|
* 行政区划编码 15位到村组
|
|
|
|
|
*/
|
|
|
|
|
@TableId(value = "ADDVCD", type = IdType.INPUT)
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "行政区划编码 15位到村组")
|
|
|
|
|
@Size(max = 15, min = 15)
|
|
|
|
|
@NotBlank
|
2024-01-24 14:27:40 +08:00
|
|
|
private String addvcd;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 行政区划名称
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "ADDVNM")
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "行政区划名称")
|
|
|
|
|
@Size(max = 100)
|
|
|
|
|
@NotBlank
|
2024-01-24 14:27:40 +08:00
|
|
|
private String addvnm;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 经度
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "LGTD")
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "经度", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
2024-01-24 14:27:40 +08:00
|
|
|
private BigDecimal lgtd;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 纬度
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "LTTD")
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "纬度", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
2024-01-24 14:27:40 +08:00
|
|
|
private BigDecimal lttd;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新建时间
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "CREATE_TM")
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "新建时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
2024-01-24 14:27:40 +08:00
|
|
|
private Date createTm;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改时间
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "TM")
|
2024-01-25 17:54:14 +08:00
|
|
|
@Schema(description = "修改时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
2024-01-24 14:27:40 +08:00
|
|
|
private Date tm;
|
|
|
|
|
|
2024-01-25 17:54:14 +08:00
|
|
|
/**
|
|
|
|
|
* 排序字段
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "SORT_ON")
|
|
|
|
|
@Schema(description = "排序字段", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
|
|
|
private Integer sortOn;
|
|
|
|
|
|
2024-01-24 14:27:40 +08:00
|
|
|
public static final String COL_ADDVCD = "ADDVCD";
|
|
|
|
|
|
|
|
|
|
public static final String COL_ADDVNM = "ADDVNM";
|
|
|
|
|
|
|
|
|
|
public static final String COL_LGTD = "LGTD";
|
|
|
|
|
|
|
|
|
|
public static final String COL_LTTD = "LTTD";
|
|
|
|
|
|
|
|
|
|
public static final String COL_CREATE_TM = "CREATE_TM";
|
|
|
|
|
|
|
|
|
|
public static final String COL_TM = "TM";
|
2024-01-25 17:54:14 +08:00
|
|
|
|
|
|
|
|
public static final String COL_SORT_ON = "SORT_ON";
|
2024-01-24 14:27:40 +08:00
|
|
|
}
|