package com.ruoyi.reportpub.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 专利公开数据对象 dPatentPub_info
 *
 * @author ruoyi
 * @date 2023-03-31
 */
@Data
@TableName("d_patent_pub_info")
public class DPatentPubInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * pub_id
     */
//    @Excel(name = "pub_id")
    private String pubId;
    private String createMonth;
    /**
     * 申请号
     */
    @Excel(name = "申请号")
    private String appNumber;

    /**
     * 申请日
     */
    @Excel(name = "申请日")
    private String appDate;

    /**
     * 第一申请人（原始专利权人）
     */
    @Excel(name = "第一申请人")
    private String appli;

    /**
     * 申请人类型（原始）
     */
    @Excel(name = "申请人类型（原始）")
    private String appliType;

    /**
     * 申请人类型
     */
    @Excel(name = "申请人类型")
    private String modifyAppliType;

    /**
     * 申请人地址
     */
//    @Excel(name = "申请人地址（原始）")
    private String appliAddress;

    private String modifyAppliAddress;
    
    /**
     * 省份代码（原始）
     */
//    @Excel(name = "省份代码")
    private String appliProvinceCode;

    /**
     * 省份（原始）
     */
    @Excel(name = "省份（原始）")
    private String appliProvince;

    /**
     * 州市代码（原始）
     */
//    @Excel(name = "州市代码（原始）")
    private String appliCityCode;

    /**
     * 州市（原始）
     */
    @Excel(name = "州市（原始）")
    private String appliCity;

    /**
     * 区县代码（原始）
     */
//    @Excel(name = "区县代码（原始）")
    private String appliCountyCode;

    /**
     * 区县（原始）
     */
    @Excel(name = "区县（原始）")
    private String appliCounty;

    /**
     * 省份代码
     */
//    @Excel(name = "省份代码")
    private String modifyAppliProvinceCode;

    /**
     * 省份
     */
    @Excel(name = "省份")
    private String modifyAppliProvince;

    /**
     * 州市代码
     */
//    @Excel(name = "州市代码")
    private String modifyAppliCityCode;

    /**
     * 州市
     */
    @Excel(name = "州市")
    private String modifyAppliCity;

    /**
     * 区县代码
     */
//    @Excel(name = "区县代码")
    private String modifyAppliCountyCode;

    /**
     * 区县
     */
    @Excel(name = "区县")
    private String modifyAppliCounty;

    /**
     * 高价值类型
     */
    @Excel(name = "高价值类型")
    private String highValue;

    /**
     * 地址调整时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "地址调整时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date addressAdjustmentTime;

    /**
     * 申请人调整时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请人调整时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyAdjustmentTime;

    /**
     * 专利名称
     */
    @Excel(name = "专利名称")
    private String title;

    /**
     * 公告号
     */
    @Excel(name = "公告号")
    private String pubNumber;

    /**
     * 当前专利状态
     */
    @Excel(name = "当前专利状态")
    private String patentStatus;

    /**
     * 当前专利人
     */
    @Excel(name = "当前专利人")
    private String patentHolderPub;

    /**
     * 专利类型
     */
    @Excel(name = "专利类型")
    private String patentType;

    /**
     * 分类号（主IPC）
     */
    @Excel(name = "分类号" )
    private String ipcMain;

    /**
     * 分类号（洛迦诺）
     */
    @Excel(name = "分类号" )
    private String locStr;
    

    private String modifyLocStr;

    private String modifyLocStrDesc;
    
    private String modifyIpcType;
    private String modifyIpcSubType;
    private String modifyIpcTypeName;
    private String modifyIpcSubTypeName;

    /**
     * 国民经济行业分类
     */
    @Excel(name = "国民经济行业分类")
    private String nationalEcoStr;

    /**
     * 专利转移次数
     */
    @Excel(name = "专利转移次数")
    private Integer patTranCounts;

    /**
     * 申请权转移次数
     */
    @Excel(name = "申请权转移次数")
    private Integer appTranCounts;

    /**
     * 许可发生次数
     */
    @Excel(name = "许可发生次数")
    private Integer licCounts;

    /**
     * 质押发生次数
     */
    @Excel(name = "质押发生次数")
    private Integer pleCounts;

    /**
     * 保全发生次数
     */
    @Excel(name = "保全发生次数")
    private Integer preCounts;

    /**
     * 法院判决发生次数
     */
    @Excel(name = "法院判决发生次数")
    private Integer curtCounts;

    /**
     * 代理机构
     */
    @Excel(name = "代理机构")
    private String agencyName;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;


    private String appNumber2;


    /**
     * 删除标识
     */
    private String delFlag;


    public String pubDate;
    public String priNumber;
    public String priDate;


    public String yunnanModifyAppliProvince;
    public String yunnanModifyAppliCity;
    public String yunnanModifyAppliCounty;
    
    public String yunnanModifyAppliProvinceCode;
    public String yunnanModifyAppliCityCode;
    public String yunnanModifyAppliCountyCode;

    public String timeCreate;
    public String timeUpdate;
    public String currentOwners;

    
    

    public Integer hvSeisDept;
    public Integer hvHaveOverseasDept;
    public Integer hvKeep10Dept;
    public Integer hvHighPledgeDept;
    public Integer hvTechnologyAwardDept;
    
    //非本地区划
    public String notThisArea;

    @TableField(exist = false)
    public String notThisArea2;
    

    public String cownerAddress;
    public String modifyCownerAddress;
    
    private String cownerProvince;
    private String cownerCity;
    private String cownerCounty;
    private String modifyCownerProvince;
    private String modifyCownerCity;
    private String modifyCownerCounty;
    
    private String cownerProvinceCode;
    private String cownerCityCode;
    private String cownerCountyCode;
    private String modifyCownerProvinceCode;
    private String modifyCownerCityCode;
    private String modifyCownerCountyCode;
    
    
}
