package com.moral.api.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import java.time.LocalDateTime;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
/**
|
* <p>
|
* 企业整顿清单
|
* </p>
|
*
|
* @author moral
|
* @since 2022-04-13
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
public class Rectify extends Model<Rectify> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 地区编码
|
*/
|
private Integer cityCode;
|
|
/**
|
* 地区名称
|
*/
|
private String cityName;
|
|
/**
|
* 县市区名称
|
*/
|
private String areaName;
|
|
/**
|
* 乡镇名称
|
*/
|
private String townName;
|
|
/**
|
* 组织机构代码
|
*/
|
private String institutionCode;
|
|
/**
|
* 企业名称
|
*/
|
private String enterpriseName;
|
|
/**
|
* 企业地址
|
*/
|
private String enterpriseAddress;
|
|
/**
|
* 经度
|
*/
|
private Double longitude;
|
|
/**
|
* 纬度
|
*/
|
private Double latitude;
|
|
/**
|
* 企业规模
|
*/
|
private String enterpriseScale;
|
|
/**
|
* 主要原料,多个逗号隔开
|
*/
|
private String material;
|
|
/**
|
* 主要燃料,多个逗号隔开
|
*/
|
private String fuel;
|
|
/**
|
* 主要产品,多个逗号隔开
|
*/
|
private String product;
|
|
/**
|
* 完成时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date completeTime;
|
|
/**
|
* 责任单位
|
*/
|
private String responsibleUnit;
|
|
/**
|
* 责任人
|
*/
|
private String responsiblePerson;
|
|
/**
|
* 是否完成
|
*/
|
private String isComplete;
|
|
/**
|
* 整顿类别
|
*/
|
private String rectifyCategory;
|
|
/**
|
* 备注
|
*/
|
private String remarks;
|
|
/**
|
* 创建时间
|
*/
|
@JsonIgnore
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
@JsonIgnore
|
private Date updateTime;
|
|
/**
|
* 是否删除,0:不删除,1:删除
|
*/
|
@JsonIgnore
|
private String isDelete;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|