package org.springblade.modules.farm.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springblade.core.tenant.mp.TenantEntity;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 实体类
|
* @since 2022-05-10
|
* @author zhongrj
|
*/
|
@Data
|
@TableName("sys_farm")
|
public class Farm implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 农场名称
|
*/
|
private String farmName;
|
|
/**
|
* 农场地址
|
*/
|
private String farmAddress;
|
|
/**
|
* 土地流转面积
|
*/
|
private String farmArea;
|
|
|
/**
|
* 口号
|
*/
|
private String slogan;
|
|
|
/**
|
* 介绍
|
*/
|
private String introduce;
|
|
|
/**
|
* 农场环境照片(多张)
|
*/
|
private String picture;
|
|
/**
|
* 农场位置(面)
|
*/
|
private String position;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
/**
|
* 公司id
|
*/
|
private String deptId;
|
|
/**
|
* 省编号
|
*/
|
private String province;
|
|
/**
|
* 市编号
|
*/
|
private String city;
|
|
/**
|
* 区编号
|
*/
|
private String district;
|
|
/**
|
* 360全景url
|
*/
|
private String panoramic;
|
}
|