From d0493eb87b68a3df1c37889b11c6eeaf0bbee92a Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Tue, 25 Nov 2025 15:56:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20srm-patent=E4=BF=AE=E6=94=B9=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0008_alter_patentrecord_status.py | 18 ++++++++++++++++++ apps/srm/models.py | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 apps/srm/migrations/0008_alter_patentrecord_status.py diff --git a/apps/srm/migrations/0008_alter_patentrecord_status.py b/apps/srm/migrations/0008_alter_patentrecord_status.py new file mode 100644 index 00000000..df4dae6d --- /dev/null +++ b/apps/srm/migrations/0008_alter_patentrecord_status.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2025-11-25 07:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('srm', '0007_auto_20251125_1454'), + ] + + operations = [ + migrations.AlterField( + model_name='patentrecord', + name='status', + field=models.CharField(blank=True, choices=[('not_disclosed', '未公开'), ('under_examination', '实审中'), ('first_office_action', '一通'), ('second_office_action', '二通'), ('rejected', '驳回'), ('reexamination', '复审'), ('authorized', '授权')], max_length=20, null=True, verbose_name='状态'), + ), + ] diff --git a/apps/srm/models.py b/apps/srm/models.py index 9b633714..58876567 100644 --- a/apps/srm/models.py +++ b/apps/srm/models.py @@ -77,6 +77,8 @@ class PatentRecord(CommonADModel): ("reexamination", "复审"), ("authorized", "授权") ], + null=True, + blank=True, verbose_name="状态" ) award_info = models.TextField(null=True, blank=True, verbose_name="报奖情况")