New file |
| | |
| | | package com.moral.api.entity; |
| | | |
| | | |
| | | import com.moral.api.pojo.bean.BaseInvalidEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Allocation extends BaseInvalidEntity<Allocation> { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(value = "allocation_id", type = IdType.AUTO) |
| | | private Integer allocationId; |
| | | |
| | | /** |
| | | *交办单号 |
| | | */ |
| | | private String allocationNum; |
| | | |
| | | /** |
| | | * 自查or核查 |
| | | */ |
| | | private Integer escalationType; |
| | | |
| | | /** |
| | | * 上报时间 |
| | | */ |
| | | private Date escalationTime; |
| | | |
| | | /** |
| | | * 污染位置 |
| | | */ |
| | | private String pollutePosition; |
| | | |
| | | /** |
| | | * 责任单位id |
| | | */ |
| | | private Integer unitId; |
| | | |
| | | /** |
| | | * 污染分类id |
| | | */ |
| | | private Integer polluteType; |
| | | |
| | | /** |
| | | * 整改类型id |
| | | */ |
| | | private Integer changeType; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 期限天数 |
| | | */ |
| | | private Integer changeDay; |
| | | |
| | | /** |
| | | * 上报单位id |
| | | */ |
| | | private Integer escalationUnitId; |
| | | |
| | | /** |
| | | * 上报人 |
| | | */ |
| | | private String escalationName; |
| | | |
| | | /** |
| | | * 排查方式id |
| | | */ |
| | | private Integer investigationType; |
| | | |
| | | /** |
| | | * 问题描述 |
| | | */ |
| | | private String problemDescribe; |
| | | |
| | | /** |
| | | * 是否整改 |
| | | */ |
| | | private Integer isChange; |
| | | |
| | | /** |
| | | * 整改反馈 |
| | | */ |
| | | private String changeDescribe; |
| | | /** |
| | | * 整改人性名 |
| | | */ |
| | | private String changeName; |
| | | |
| | | /** |
| | | * 整改时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date changeTime; |
| | | |
| | | /** |
| | | * 考核分值 |
| | | */ |
| | | private Integer checkScore; |
| | | /** |
| | | * 考核理由 |
| | | */ |
| | | private String checkDescribe; |
| | | /** |
| | | * 考核人 |
| | | */ |
| | | private String checkName; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 考核时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date checkTime; |
| | | /** |
| | | * 状态 0 创建 1 整改 2审核 3 拒绝 4 通过 |
| | | */ |
| | | private Integer state; |
| | | /** |
| | | * 作废理由 |
| | | */ |
| | | private String invalidReason; |
| | | |
| | | |
| | | } |