@hugo.ye/common 1.0.124 → 1.0.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/models/country.entity.d.ts +2 -0
- package/build/models/country.entity.d.ts.map +1 -1
- package/build/models/country.entity.js +14 -1
- package/build/models/country.entity.js.map +1 -1
- package/build/models/service-fee-item.entity.d.ts +1 -0
- package/build/models/service-fee-item.entity.d.ts.map +1 -1
- package/build/models/service-fee-item.entity.js +7 -1
- package/build/models/service-fee-item.entity.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@ import { ContinentEntity, ServiceFeeEntity } from './index.js';
|
|
|
4
4
|
export declare class CountryEntity extends AbstractEntity<CountryEntity> {
|
|
5
5
|
chinesename: string;
|
|
6
6
|
name: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
globalCurrency: boolean;
|
|
7
9
|
isHotTrademark: boolean;
|
|
8
10
|
isHotInventionPatent: boolean;
|
|
9
11
|
isHotUtilityModel: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.entity.d.ts","sourceRoot":"","sources":["../../src/models/country.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,QAAQ,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEhE,qBAKa,aAAc,SAAQ,cAAc,CAAC,aAAa,CAAC;IAI9D,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"country.entity.d.ts","sourceRoot":"","sources":["../../src/models/country.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,QAAQ,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEhE,qBAKa,aAAc,SAAQ,cAAc,CAAC,aAAa,CAAC;IAI9D,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;IAKjB,cAAc,EAAE,OAAO,CAAC;IAiBxB,cAAc,EAAE,OAAO,CAAC;IAKxB,oBAAoB,EAAE,OAAO,CAAC;IAK9B,iBAAiB,EAAE,OAAO,CAAC;IAK3B,iBAAiB,EAAE,OAAO,CAAC;IAK3B,sBAAsB,EAAE,OAAO,CAAC;IAKhC,0BAA0B,EAAE,OAAO,CAAC;IAIpC,UAAU,EAAE,MAAM,CAAC;IASnB,IAAI,EAAE,gBAAgB,EAAE,CAAC;IAQzB,SAAS,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;CACtC"}
|
|
@@ -14,6 +14,8 @@ import { ContinentEntity, ServiceFeeEntity } from './index.js';
|
|
|
14
14
|
let CountryEntity = class CountryEntity extends AbstractEntity {
|
|
15
15
|
chinesename; // 国家中文名称
|
|
16
16
|
name; // 国家(英文)名称
|
|
17
|
+
currency;
|
|
18
|
+
globalCurrency; // 全球主要流通的货币
|
|
17
19
|
// @Column()
|
|
18
20
|
// @Field()
|
|
19
21
|
// @Index('continent-idx')
|
|
@@ -47,6 +49,17 @@ __decorate([
|
|
|
47
49
|
Index('englishName-idx'),
|
|
48
50
|
__metadata("design:type", String)
|
|
49
51
|
], CountryEntity.prototype, "name", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Column(),
|
|
54
|
+
Field(() => String),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CountryEntity.prototype, "currency", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column({ default: false }),
|
|
59
|
+
Field(() => Boolean, { defaultValue: false }),
|
|
60
|
+
Index('global-idx'),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], CountryEntity.prototype, "globalCurrency", void 0);
|
|
50
63
|
__decorate([
|
|
51
64
|
Column({ default: false }),
|
|
52
65
|
Field({ nullable: false }),
|
|
@@ -110,7 +123,7 @@ __decorate([
|
|
|
110
123
|
CountryEntity = __decorate([
|
|
111
124
|
Entity(),
|
|
112
125
|
ObjectType(),
|
|
113
|
-
Directive('@key(fields:"id,chinesename,name,isHotTrademark,isHotInventionPatent,isHotUtilityModel,isHotDesignPatent,isHotAnnuityManagement,isHotCopyrightRegistration,sortNumber")')
|
|
126
|
+
Directive('@key(fields:"id,chinesename,name,currency,globalCurrency,isHotTrademark,isHotInventionPatent,isHotUtilityModel,isHotDesignPatent,isHotAnnuityManagement,isHotCopyrightRegistration,sortNumber")')
|
|
114
127
|
], CountryEntity);
|
|
115
128
|
export { CountryEntity };
|
|
116
129
|
//# sourceMappingURL=country.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../src/models/country.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,GAEV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAOzD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,cAA6B;IAI9D,WAAW,CAAS,CAAC,SAAS;IAK9B,IAAI,CAAS,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../src/models/country.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAA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,EAAE;QACvD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;KACd,CAAC;IACD,SAAS,EAAE;IACX,SAAS,CAAC,YAAY,CAAC;IACvB,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,gBAAgB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC3B;AAQzB;IANC,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE;QACpE,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,KAAK,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAChD,SAAS,CAAC,YAAY,CAAC;;gDACa;AAjF1B,aAAa;IALzB,MAAM,EAAE;IACR,UAAU,EAAE;IACZ,SAAS,CACR,iMAAiM,CAClM;GACY,aAAa,CAkFzB"}
|
|
@@ -5,6 +5,7 @@ export declare class ServiceFeeItemEntity extends AbstractEntity<ServiceFeeItemE
|
|
|
5
5
|
qtyTo: number;
|
|
6
6
|
amount: number;
|
|
7
7
|
type: 'officialFee' | 'attorneyDirectFilingFee' | 'attorneyOptimalFee' | 'attorneyStandardServiceFee' | 'inipaFee' | 'ipPriorityClaimFee' | 'ipRequestExamFee' | 'ipRequestEarlyPublicFee' | 'umPriorityClaimFee' | 'umEvaluationReportFee' | 'dpPriorityClaimFee' | 'dpRequestDefermentFee' | 'dpDrawingsServiceFee' | 'amLatePaymentFee' | 'amRequireInvoiceFee' | 'crStandardFilingFee' | 'crExpeditedOrPriorityFee';
|
|
8
|
+
currency: string;
|
|
8
9
|
serviceFee: Relation<ServiceFeeEntity>;
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=service-fee-item.entity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-fee-item.entity.d.ts","sourceRoot":"","sources":["../../src/models/service-fee-item.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,EAAgD,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEtF,qBAGa,oBAAqB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAG5E,OAAO,EAAE,MAAM,CAAC;IAIhB,KAAK,EAAE,MAAM,CAAC;IAId,MAAM,EAAE,MAAM,CAAC;IAKf,IAAI,EACA,aAAa,GACb,yBAAyB,GACzB,oBAAoB,GACpB,4BAA4B,GAC5B,UAAU,GACV,oBAAoB,GACpB,kBAAkB,GAClB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,kBAAkB,GAClB,qBAAqB,GACrB,qBAAqB,GACrB,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"service-fee-item.entity.d.ts","sourceRoot":"","sources":["../../src/models/service-fee-item.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,EAAgD,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEtF,qBAGa,oBAAqB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAG5E,OAAO,EAAE,MAAM,CAAC;IAIhB,KAAK,EAAE,MAAM,CAAC;IAId,MAAM,EAAE,MAAM,CAAC;IAKf,IAAI,EACA,aAAa,GACb,yBAAyB,GACzB,oBAAoB,GACpB,4BAA4B,GAC5B,UAAU,GACV,oBAAoB,GACpB,kBAAkB,GAClB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,kBAAkB,GAClB,qBAAqB,GACrB,qBAAqB,GACrB,0BAA0B,CAAC;IAI7B,QAAQ,EAAE,MAAM,CAAC;IASf,UAAU,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;CAC5C"}
|
|
@@ -15,6 +15,7 @@ let ServiceFeeItemEntity = class ServiceFeeItemEntity extends AbstractEntity {
|
|
|
15
15
|
qtyTo;
|
|
16
16
|
amount;
|
|
17
17
|
type;
|
|
18
|
+
currency;
|
|
18
19
|
serviceFee;
|
|
19
20
|
};
|
|
20
21
|
__decorate([
|
|
@@ -38,6 +39,11 @@ __decorate([
|
|
|
38
39
|
Index('type-idx'),
|
|
39
40
|
__metadata("design:type", String)
|
|
40
41
|
], ServiceFeeItemEntity.prototype, "type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Column(),
|
|
44
|
+
Field(() => String),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], ServiceFeeItemEntity.prototype, "currency", void 0);
|
|
41
47
|
__decorate([
|
|
42
48
|
ManyToOne(() => ServiceFeeEntity, (serviceFee) => serviceFee.items, {
|
|
43
49
|
onDelete: 'CASCADE',
|
|
@@ -51,7 +57,7 @@ __decorate([
|
|
|
51
57
|
ServiceFeeItemEntity = __decorate([
|
|
52
58
|
Entity(),
|
|
53
59
|
ObjectType(),
|
|
54
|
-
Directive('@key(fields:"id,qtyFrom,qtyTo,amount,type")')
|
|
60
|
+
Directive('@key(fields:"id,qtyFrom,qtyTo,amount,type,currency")')
|
|
55
61
|
], ServiceFeeItemEntity);
|
|
56
62
|
export { ServiceFeeItemEntity };
|
|
57
63
|
//# sourceMappingURL=service-fee-item.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-fee-item.entity.js","sourceRoot":"","sources":["../../src/models/service-fee-item.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,MAAM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