/* * 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.checkInRecords.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import liquibase.pro.packaged.I; 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 2023-12-04 */ @Data @TableName("jczz_check_in_records") @ApiModel(value = "CheckInRecords对象", description = "打卡记录表") public class CheckInRecordsEntity { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键ID", example = "") @TableId(value = "id", type = IdType.AUTO) private Integer id; /** 创建人 */ @ApiModelProperty(value = "创建人", example = "") @TableField("create_user_id") private Long createUserId; /** 创建时间 */ @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("work_theme") private String workTheme; /** 工作内容 */ @ApiModelProperty(value = "工作内容", example = "") @TableField("work_content") private String workContent; /** 图片 */ @ApiModelProperty(value = "图片", example = "") @TableField("img") private String img; /** 经度 */ @ApiModelProperty(value = "经度", example = "") @TableField("lng") private String lng; /** 纬度 */ @ApiModelProperty(value = "纬度", example = "") @TableField("lat") private String lat; /** 地址 */ @ApiModelProperty(value = "地址", example = "") @TableField("address") private String address; /** 0 :否 1:是 */ @ApiModelProperty(value = "0 :否 1:是", example = "") @TableField("deleted_flag") @TableLogic private Integer deletedFlag; @ApiModelProperty(value = "网格编号") @TableField("grid_code") private String gridCode; /** * 警务网格编号 */ @ApiModelProperty(value = "警务网格编号") @TableField("jw_grid_code") private String jwGridCode; }