/* * 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.ownersCommittee.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.io.Serializable; import java.util.Date; /** * 业委会表 实体类 * * @author BladeX * @since 2023-12-19 */ @ApiModel(value = "OwnersCommittee对象" , description = "业委会表") @Data @TableName("jczz_owners_committee") public class OwnersCommitteeEntity implements Serializable { private static final long serialVersionUID = 1L; /** id */ @ApiModelProperty(value = "主键ID", example = "") @TableId(value = "id", type = IdType.AUTO) private Integer id; /** 小区id */ @ApiModelProperty(value = "小区id", example = "") @TableField("area_id") private String areaId; /** 小区名称 */ @ApiModelProperty(value = "小区名称", example = "") @TableField("area_name") private String areaName; /** 建立时间 */ @ApiModelProperty(value = "建立时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField("establish_time") private Date establishTime; /** 图片地址 */ @ApiModelProperty(value = "图片地址", example = "") @TableField("image_url") private String imageUrl; /** 纬度 */ @ApiModelProperty(value = "纬度", example = "") @TableField("latitude") private String latitude; /** 经度 */ @ApiModelProperty(value = "经度", example = "") @TableField("longitude") private String longitude; /** 地址 */ @ApiModelProperty(value = "地址", example = "") @TableField("location") private String location; /** 手机号 */ @ApiModelProperty(value = "手机号", example = "") @TableField("mobile") private String mobile; /** 业委会名称 */ @ApiModelProperty(value = "业委会名称", example = "") @TableField("name") private String name; /** 总人数 */ @ApiModelProperty(value = "总人数", example = "") @TableField("people_total") private String peopleTotal; /** 负责人id */ @ApiModelProperty(value = "负责人id", example = "") @TableField("principal_id") private Long principalId; /** 负责人名称 */ @ApiModelProperty(value = "负责人名称", example = "") @TableField("principal_name") private String principalName; /** 简介 */ @ApiModelProperty(value = "简介", example = "") @TableField("profile") private String profile; /** 业委会届别 */ @ApiModelProperty(value = "业委会届别", example = "") @TableField("session") private Integer session; /** 开始时间 */ @ApiModelProperty(value = "开始时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField("start_time") private Date startTime; /** 截止时间 */ @ApiModelProperty(value = "截止时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField("end_time") private Date endTime; /** 排序 */ @ApiModelProperty(value = "排序", example = "") @TableField("sort") private Integer sort; /** 0 正常 1 关闭 */ @ApiModelProperty(value = "0 正常 1 关闭", example = "") @TableField("status") private Integer status; /** 0 业委会 1 物管会/自管会 */ @ApiModelProperty(value = "0 业委会 1 物管会/自管会", example = "") @TableField("type") private Integer type; /** 创建人 */ @ApiModelProperty(value = "创建人", example = "") @TableField("create_id") private Long createId; /** 更新人 */ @ApiModelProperty(value = "更新人", example = "") @TableField("update_id") private Integer updateId; /** 创建时间 */ @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 = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE) private Date updateTime; /** 0否 1是 */ @ApiModelProperty(value = "0否 1是", example = "") @TableField("delete_flag") private Integer deleteFlag; }