| New file |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.nursingCheckIn.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springblade.core.tenant.mp.TenantEntity; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 护学打卡 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-04-18 |
| | | */ |
| | | @Data |
| | | @TableName("jczz_nursing_check_in") |
| | | @ApiModel(value = "NursingCheckIn对象", description = "护学打卡") |
| | | public class NursingCheckInEntity { |
| | | |
| | | /** id */ |
| | | @ApiModelProperty(value = "主键ID", example = "") |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** 创建人 */ |
| | | @ApiModelProperty(value = "创建人", example = "") |
| | | @TableField("create_user") |
| | | private Long createUser; |
| | | |
| | | /** 定位地址 */ |
| | | @ApiModelProperty(value = "定位地址", example = "") |
| | | @TableField("location") |
| | | private String location; |
| | | |
| | | /** 家长名称 */ |
| | | @ApiModelProperty(value = "家长名称", example = "") |
| | | @TableField("name") |
| | | private String name; |
| | | |
| | | /** 家长电话 */ |
| | | @ApiModelProperty(value = "家长电话", example = "") |
| | | @TableField("phone") |
| | | private String phone; |
| | | |
| | | /** 年级与班级 */ |
| | | @ApiModelProperty(value = "年级与班级", example = "") |
| | | @TableField("grade_and_class") |
| | | private String gradeAndClass; |
| | | |
| | | /** 图片 */ |
| | | @ApiModelProperty(value = "图片", example = "") |
| | | @TableField("images") |
| | | private String images; |
| | | |
| | | /** 场所id */ |
| | | @ApiModelProperty(value = "场所id", example = "") |
| | | @TableField("place_id") |
| | | private Long placeId; |
| | | |
| | | /** 1:民警 2:家长 */ |
| | | @ApiModelProperty(value = "1:民警 2:家长", example = "") |
| | | @TableField("type") |
| | | private String type; |
| | | |
| | | /** 创建时间 */ |
| | | @ApiModelProperty(value = "创建时间", example = "") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(value = "create_time",fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | /** 经度 */ |
| | | @ApiModelProperty(value = "经度", example = "") |
| | | @TableField("longitude") |
| | | private String longitude; |
| | | |
| | | /** 纬度 */ |
| | | @ApiModelProperty(value = "纬度", example = "") |
| | | @TableField("latitude") |
| | | private String latitude; |
| | | |
| | | /** 地址编码 */ |
| | | @ApiModelProperty(value = "地址编码", example = "") |
| | | @TableField("house_code") |
| | | private String houseCode; |
| | | |
| | | /** 场所名称 */ |
| | | @ApiModelProperty(value = "场所名称", example = "") |
| | | @TableField("place_name") |
| | | private String placeName; |
| | | } |