From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: 星期一, 19 六月 2023 14:22:45 +0800
Subject: [PATCH] 描述

---
 src/main/java/com/gk/firework/Domain/LicenseInfo.java |  642 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 642 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/gk/firework/Domain/LicenseInfo.java b/src/main/java/com/gk/firework/Domain/LicenseInfo.java
new file mode 100644
index 0000000..307106c
--- /dev/null
+++ b/src/main/java/com/gk/firework/Domain/LicenseInfo.java
@@ -0,0 +1,642 @@
+package com.gk.firework.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.fasterxml.jackson.annotation.JsonFormat;
+import com.gk.firework.Domain.Enum.LicenseStatus;
+
+import javax.validation.constraints.DecimalMin;
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@TableName("license")
+public class LicenseInfo {
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+
+    /**   id **/
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /** 许可证编号  sn **/
+    private Integer sn;
+
+    /** 许可证编号  licensecode **/
+    private String licensecode;
+
+    /** 1.生产;2.批发;3.零售  type **/
+    private Byte type;
+
+    /** 单位名称  name **/
+    @NotBlank(message = "单位名称不能为空")
+    private String name;
+
+    /** 统一社会信用代码  code **/
+    @NotBlank(message = "统一社会信用代码不能为空")
+    private String code;
+
+    /** 主要负责人姓名  mainpersonname **/
+    @NotBlank(message = "主要负责人姓名不能为空")
+    private String mainpersonname;
+
+    /** 主要负责人身份证号码  mainpersonidcardnum **/
+    @NotBlank(message = "主要负责人身份证号码不能为空")
+    private String mainpersonidcardnum;
+
+    /** 主要负责人电话  mainpersontel **/
+    @NotBlank(message = "主要负责人电话不能为空")
+    private String mainpersontel;
+
+    /** 安全负责人姓名  safetypersonname **/
+    @NotBlank(message = "安全负责人姓名不能为空")
+    private String safetypersonname;
+
+    /** 安全负责人身份证号码  safetypersonidcardnum **/
+    @NotBlank(message = "安全负责人身份证号码不能为空")
+    private String safetypersonidcardnum;
+
+    /** 安全负责人电话  safetypersontel **/
+    @NotBlank(message = "安全负责人电话不能为空")
+    private String safetypersontel;
+
+    /** 省  province **/
+    private String province;
+
+    /** 市  city **/
+    private String city;
+
+    /** 区/县  district **/
+    private String district;
+
+    /** 详细地址  address **/
+    private String address;
+
+    /** 许可类型(1.长期;2.临时)  licensetype **/
+    private Byte licensetype;
+
+    /** 经营方式(1.专柜;2.专店)  dealingtype **/
+    private Byte dealingtype;
+
+    /** 经营面积(全部)  dealingarea **/
+    @DecimalMin(message = "经营面积(全部)填写错误",value = "0")
+    private BigDecimal dealingarea;
+
+    /** 经营面积(物品存放)  savearea **/
+    private BigDecimal savearea;
+
+    /** 核定储量(箱数)  reservebox **/
+    @DecimalMin(message = "核定储量(箱数)填写错误",value = "0")
+    private BigDecimal reservebox;
+
+    /** 核定储量(重量)  reservekg **/
+    @DecimalMin(message = "核定储量(重量)填写错误",value = "0")
+    private BigDecimal reservekg;
+
+    /** 生效日期  effectdate **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
+    private Date effectdate;
+
+    /** 失效日期  noeffectdate **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
+    private Date noeffectdate;
+
+    /** 延期日期  delaydate **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
+    private Date delaydate;
+
+    /** 发证机关  issuingunit **/
+    private String issuingunit;
+
+    /** 发证日期  issuingdate **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
+    private Date issuingdate;
+
+    /** 备注  remark **/
+    private String remark;
+
+    /** 经营范围  dealingrange **/
+    private String dealingrange;
+
+    /** 标记(预留)  flag **/
+    private Byte flag;
+
+    /** 创建人  createdby **/
+    private String createdby;
+
+    /** 创建时间  createdat **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createdat;
+
+    /** 修改人  modifiedby **/
+    private String modifiedby;
+
+    /** 修改时间  modifiedat **/
+    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
+    private Date modifiedat;
+
+    /** 审核人  reviewer **/
+    private String reviewer;
+
+    /** 审核时间  reviewat **/
+    private Date reviewat;
+
+    /** 审核状态(0.未审核;1.已审核)  reviewstatus **/
+    private Byte reviewstatus;
+
+    /** 审核意见  reviewnote **/
+    private String reviewnote;
+
+    /** 发证类型(1.新发;2.延期;3.变更;4.重新申请)  granttype **/
+    private Byte granttype;
+
+    /** 状态(1.有效;2.注销)  status **/
+    private Byte status;
+
+    /** 打印状态(0.未打印;1.已打印)  printstatus **/
+    private Byte printstatus;
+
+    /** 仓储地址省市区 **/
+    private String storageprovince;
+
+    private String storagecity;
+
+    private String storagedistrict;
+
+    private String storageaddress;
+
+    private String economictype;
+
+    //许可证有效状态(-1无效,1有效)
+    private byte validstatus;
+
+    private LicenseStatus licensestatus;
+
+    /**     id   **/
+    public Long getId() {
+        return id;
+    }
+
+    /**     id   **/
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public Integer getSn() {
+        return sn;
+    }
+
+    public void setSn(Integer sn) {
+        this.sn = sn;
+    }
+
+    /**   许可证编号  licensecode   **/
+    public String getLicensecode() {
+        return licensecode;
+    }
+
+    /**   许可证编号  licensecode   **/
+    public void setLicensecode(String licensecode) {
+        this.licensecode = licensecode == null ? null : licensecode.trim();
+    }
+
+    /**   1.生产;2.批发;3.零售  type   **/
+    public Byte getType() {
+        return type;
+    }
+
+    /**   1.生产;2.批发;3.零售  type   **/
+    public void setType(Byte type) {
+        this.type = type;
+    }
+
+    /**   单位名称  name   **/
+    public String getName() {
+        return name;
+    }
+
+    /**   单位名称  name   **/
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**   统一社会信用代码  code   **/
+    public String getCode() {
+        return code;
+    }
+
+    /**   统一社会信用代码  code   **/
+    public void setCode(String code) {
+        this.code = code == null ? null : code.trim();
+    }
+
+    /**   主要负责人姓名  mainpersonname   **/
+    public String getMainpersonname() {
+        return mainpersonname;
+    }
+
+    /**   主要负责人姓名  mainpersonname   **/
+    public void setMainpersonname(String mainpersonname) {
+        this.mainpersonname = mainpersonname == null ? null : mainpersonname.trim();
+    }
+
+    /**   主要负责人身份证号码  mainpersonidcardnum   **/
+    public String getMainpersonidcardnum() {
+        return mainpersonidcardnum;
+    }
+
+    /**   主要负责人身份证号码  mainpersonidcardnum   **/
+    public void setMainpersonidcardnum(String mainpersonidcardnum) {
+        this.mainpersonidcardnum = mainpersonidcardnum == null ? null : mainpersonidcardnum.trim();
+    }
+
+    /**   主要负责人电话  mainpersontel   **/
+    public String getMainpersontel() {
+        return mainpersontel;
+    }
+
+    /**   主要负责人电话  mainpersontel   **/
+    public void setMainpersontel(String mainpersontel) {
+        this.mainpersontel = mainpersontel == null ? null : mainpersontel.trim();
+    }
+
+    /**   安全负责人姓名  safetypersonname   **/
+    public String getSafetypersonname() {
+        return safetypersonname;
+    }
+
+    /**   安全负责人姓名  safetypersonname   **/
+    public void setSafetypersonname(String safetypersonname) {
+        this.safetypersonname = safetypersonname == null ? null : safetypersonname.trim();
+    }
+
+    /**   安全负责人身份证号码  safetypersonidcardnum   **/
+    public String getSafetypersonidcardnum() {
+        return safetypersonidcardnum;
+    }
+
+    /**   安全负责人身份证号码  safetypersonidcardnum   **/
+    public void setSafetypersonidcardnum(String safetypersonidcardnum) {
+        this.safetypersonidcardnum = safetypersonidcardnum == null ? null : safetypersonidcardnum.trim();
+    }
+
+    /**   安全负责人电话  safetypersontel   **/
+    public String getSafetypersontel() {
+        return safetypersontel;
+    }
+
+    /**   安全负责人电话  safetypersontel   **/
+    public void setSafetypersontel(String safetypersontel) {
+        this.safetypersontel = safetypersontel == null ? null : safetypersontel.trim();
+    }
+
+    /**   省  province   **/
+    public String getProvince() {
+        return province;
+    }
+
+    /**   省  province   **/
+    public void setProvince(String province) {
+        this.province = province == null ? null : province.trim();
+    }
+
+    /**   市  city   **/
+    public String getCity() {
+        return city;
+    }
+
+    /**   市  city   **/
+    public void setCity(String city) {
+        this.city = city == null ? null : city.trim();
+    }
+
+    /**   区/县  district   **/
+    public String getDistrict() {
+        return district;
+    }
+
+    /**   区/县  district   **/
+    public void setDistrict(String district) {
+        this.district = district == null ? null : district.trim();
+    }
+
+    /**   详细地址  address   **/
+    public String getAddress() {
+        return address;
+    }
+
+    /**   详细地址  address   **/
+    public void setAddress(String address) {
+        this.address = address == null ? null : address.trim();
+    }
+
+    /**   许可类型(1.长期;2.临时)  licensetype   **/
+    public Byte getLicensetype() {
+        return licensetype;
+    }
+
+    /**   许可类型(1.长期;2.临时)  licensetype   **/
+    public void setLicensetype(Byte licensetype) {
+        this.licensetype = licensetype;
+    }
+
+    /**   经营方式(1.专柜;2.专店)  dealingtype   **/
+    public Byte getDealingtype() {
+        return dealingtype;
+    }
+
+    /**   经营方式(1.专柜;2.专店)  dealingtype   **/
+    public void setDealingtype(Byte dealingtype) {
+        this.dealingtype = dealingtype;
+    }
+
+    /**   经营面积(全部)  dealingarea   **/
+    public BigDecimal getDealingarea() {
+        return dealingarea;
+    }
+
+    /**   经营面积(全部)  dealingarea   **/
+    public void setDealingarea(BigDecimal dealingarea) {
+        this.dealingarea = dealingarea;
+    }
+
+    /**   经营面积(物品存放)  savearea   **/
+    public BigDecimal getSavearea() {
+        return savearea;
+    }
+
+    /**   经营面积(物品存放)  savearea   **/
+    public void setSavearea(BigDecimal savearea) {
+        this.savearea = savearea;
+    }
+
+    /**   核定储量(箱数)  reservebox   **/
+    public BigDecimal getReservebox() {
+        return reservebox;
+    }
+
+    /**   核定储量(箱数)  reservebox   **/
+    public void setReservebox(BigDecimal reservebox) {
+        this.reservebox = reservebox;
+    }
+
+    /**   核定储量(重量)  reservekg   **/
+    public BigDecimal getReservekg() {
+        return reservekg;
+    }
+
+    /**   核定储量(重量)  reservekg   **/
+    public void setReservekg(BigDecimal reservekg) {
+        this.reservekg = reservekg;
+    }
+
+    /**   生效日期  effectdate   **/
+    public Date getEffectdate() {
+        return effectdate;
+    }
+
+    /**   生效日期  effectdate   **/
+    public void setEffectdate(Date effectdate) {
+        this.effectdate = effectdate;
+    }
+
+    /**   失效日期  noeffectdate   **/
+    public Date getNoeffectdate() {
+        return noeffectdate;
+    }
+
+    /**   失效日期  noeffectdate   **/
+    public void setNoeffectdate(Date noeffectdate) {
+        this.noeffectdate = noeffectdate;
+    }
+
+    /**   发证机关  issuingunit   **/
+    public String getIssuingunit() {
+        return issuingunit;
+    }
+
+    /**   发证机关  issuingunit   **/
+    public void setIssuingunit(String issuingunit) {
+        this.issuingunit = issuingunit == null ? null : issuingunit.trim();
+    }
+
+    /**   发证日期  issuingdate   **/
+    public Date getIssuingdate() {
+        return issuingdate;
+    }
+
+    /**   发证日期  issuingdate   **/
+    public void setIssuingdate(Date issuingdate) {
+        this.issuingdate = issuingdate;
+    }
+
+    /**   备注  remark   **/
+    public String getRemark() {
+        return remark;
+    }
+
+    /**   备注  remark   **/
+    public void setRemark(String remark) {
+        this.remark = remark == null ? null : remark.trim();
+    }
+
+    /**   经营范围  dealingrange   **/
+    public String getDealingrange() {
+        return dealingrange;
+    }
+
+    /**   经营范围  dealingrange   **/
+    public void setDealingrange(String dealingrange) {
+        this.dealingrange = dealingrange == null ? null : dealingrange.trim();
+    }
+
+    /**   标记(预留)  flag   **/
+    public Byte getFlag() {
+        return flag;
+    }
+
+    /**   标记(预留)  flag   **/
+    public void setFlag(Byte flag) {
+        this.flag = flag;
+    }
+
+    /**   创建人  createdby   **/
+    public String getCreatedby() {
+        return createdby;
+    }
+
+    /**   创建人  createdby   **/
+    public void setCreatedby(String createdby) {
+        this.createdby = createdby == null ? null : createdby.trim();
+    }
+
+    /**   创建时间  createdat   **/
+    public Date getCreatedat() {
+        return createdat;
+    }
+
+    /**   创建时间  createdat   **/
+    public void setCreatedat(Date createdat) {
+        this.createdat = createdat;
+    }
+
+    /**   修改人  modifiedby   **/
+    public String getModifiedby() {
+        return modifiedby;
+    }
+
+    /**   修改人  modifiedby   **/
+    public void setModifiedby(String modifiedby) {
+        this.modifiedby = modifiedby == null ? null : modifiedby.trim();
+    }
+
+    /**   修改时间  modifiedat   **/
+    public Date getModifiedat() {
+        return modifiedat;
+    }
+
+    /**   修改时间  modifiedat   **/
+    public void setModifiedat(Date modifiedat) {
+        this.modifiedat = modifiedat;
+    }
+
+    /**   审核人  reviewer   **/
+    public String getReviewer() {
+        return reviewer;
+    }
+
+    /**   审核人  reviewer   **/
+    public void setReviewer(String reviewer) {
+        this.reviewer = reviewer == null ? null : reviewer.trim();
+    }
+
+    /**   审核时间  reviewat   **/
+    public Date getReviewat() {
+        return reviewat;
+    }
+
+    /**   审核时间  reviewat   **/
+    public void setReviewat(Date reviewat) {
+        this.reviewat = reviewat;
+    }
+
+    /**   审核状态(0.未审核;1.已审核)  reviewstatus   **/
+    public Byte getReviewstatus() {
+        return reviewstatus;
+    }
+
+    /**   审核状态(0.未审核;1.已审核)  reviewstatus   **/
+    public void setReviewstatus(Byte reviewstatus) {
+        this.reviewstatus = reviewstatus;
+    }
+
+    /**   审核意见  reviewnote   **/
+    public String getReviewnote() {
+        return reviewnote;
+    }
+
+    /**   审核意见  reviewnote   **/
+    public void setReviewnote(String reviewnote) {
+        this.reviewnote = reviewnote == null ? null : reviewnote.trim();
+    }
+
+    /**   发证类型(1.新发;2.延期;3.变更;4.重新申请)  granttype   **/
+    public Byte getGranttype() {
+        return granttype;
+    }
+
+    /**   发证类型(1.新发;2.延期;3.变更;4.重新申请)  granttype   **/
+    public void setGranttype(Byte granttype) {
+        this.granttype = granttype;
+    }
+
+    /**   状态(1.有效;2.注销)  status   **/
+    public Byte getStatus() {
+        return status;
+    }
+
+    /**   状态(1.有效;2.注销)  status   **/
+    public void setStatus(Byte status) {
+        this.status = status;
+    }
+
+    /**   打印状态(0.未打印;1.已打印)  printstatus   **/
+    public Byte getPrintstatus() {
+        return printstatus;
+    }
+
+    /**   打印状态(0.未打印;1.已打印)  printstatus   **/
+    public void setPrintstatus(Byte printstatus) {
+        this.printstatus = printstatus;
+    }
+
+    public Date getDelaydate() {
+        return delaydate;
+    }
+
+    public void setDelaydate(Date delaydate) {
+        this.delaydate = delaydate;
+    }
+
+    public String getStorageprovince() {
+        return storageprovince;
+    }
+
+    public void setStorageprovince(String storageprovince) {
+        this.storageprovince = storageprovince;
+    }
+
+    public String getStoragecity() {
+        return storagecity;
+    }
+
+    public void setStoragecity(String storagecity) {
+        this.storagecity = storagecity;
+    }
+
+    public String getStoragedistrict() {
+        return storagedistrict;
+    }
+
+    public void setStoragedistrict(String storagedistrict) {
+        this.storagedistrict = storagedistrict;
+    }
+
+    public String getStorageaddress() {
+        return storageaddress;
+    }
+
+    public void setStorageaddress(String storageaddress) {
+        this.storageaddress = storageaddress;
+    }
+
+
+    public String getEconomictype() {
+        return economictype;
+    }
+
+    public void setEconomictype(String economictype) {
+        this.economictype = economictype;
+    }
+
+
+    public LicenseStatus getLicensestatus() {
+        return licensestatus;
+    }
+
+    public void setLicensestatus(LicenseStatus licensestatus) {
+        this.licensestatus = licensestatus;
+    }
+
+
+    public byte getValidstatus() {
+        return validstatus;
+    }
+
+    public void setValidstatus(byte validstatus) {
+        this.validstatus = validstatus;
+    }
+}

--
Gitblit v1.9.2