package com.zksy.park.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 园区信息
 * @date 2024/12/23 08:55:49
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("park_information")
@ApiModel(value = "园区信息")
public class ParkInfo extends Model<ParkInfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "园区名称")
    private String parkName;

    @ApiModelProperty(value = "描述")
    private String remarks;

    @ApiModelProperty(value = "园区总面积")
    private String totalArea;

    @ApiModelProperty(value = "入职企业")
    private String enteredCompany;

    @ApiModelProperty(value = "楼栋数量")
    private String numberBuildings;

    @ApiModelProperty(value = "园区人员")
    private String parkPersonnel;

    @ApiModelProperty(value = "标准厂房")
    private String standardFactory;

    @ApiModelProperty(value = "总车位")
    private String parkingLot;

    @ApiModelProperty(value = "生产用地")
    private String productionLand;

    @ApiModelProperty(value = "办公用地")
    private String officeLand;

    @ApiModelProperty(value = "绿色植被")
    private String greenVegetation;

    @ApiModelProperty(value = "基础设施")
    private String infrastructure;

    @ApiModelProperty(value = "待开发区")
    private String developmentArea;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "文件路径")
    @TableField(exist = false)
    private String filePath;

    @ApiModelProperty(value = "业务类型")
    private String businessType;

    @ApiModelProperty(value = "是否启用")
    private Integer isEnable;
}
