@admc-go-th/admc-library 1.0.120 → 1.0.121
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/databases/schema/index.ts +1 -0
- package/databases/schema/mdApplication.ts +4 -3
- package/databases/schema/msExecutiveLevel.ts +119 -0
- package/databases/tables/index.d.ts +1 -0
- package/databases/tables/index.js +390 -285
- package/databases/tables/mdApplication.d.ts +2 -2
- package/databases/tables/mdApplication.js +2 -1
- package/databases/tables/msExecutiveLevel.d.ts +36 -0
- package/databases/tables/msExecutiveLevel.js +137 -0
- package/package.json +1 -1
|
@@ -78,6 +78,7 @@ __export(tables_exports, {
|
|
|
78
78
|
msExecutive: () => msExecutive,
|
|
79
79
|
msExecutiveBoard: () => msExecutiveBoard,
|
|
80
80
|
msExecutiveGroup: () => msExecutiveGroup,
|
|
81
|
+
msExecutiveLevel: () => msExecutiveLevel,
|
|
81
82
|
msExecutivePosition: () => msExecutivePosition,
|
|
82
83
|
msGuidelines: () => msGuidelines,
|
|
83
84
|
msHoliday: () => msHoliday,
|
|
@@ -2861,7 +2862,8 @@ __decorateClass([
|
|
|
2861
2862
|
], mdApplication.prototype, "url2", 2);
|
|
2862
2863
|
__decorateClass([
|
|
2863
2864
|
(0, import_sequelize_typescript26.Column)({
|
|
2864
|
-
allowNull: true
|
|
2865
|
+
allowNull: true,
|
|
2866
|
+
type: import_sequelize_typescript26.DataType.STRING(10)
|
|
2865
2867
|
})
|
|
2866
2868
|
], mdApplication.prototype, "target2", 2);
|
|
2867
2869
|
__decorateClass([
|
|
@@ -6659,9 +6661,9 @@ msExecutiveBoard = __decorateClass([
|
|
|
6659
6661
|
})
|
|
6660
6662
|
], msExecutiveBoard);
|
|
6661
6663
|
|
|
6662
|
-
// src/databases/tables/
|
|
6664
|
+
// src/databases/tables/msExecutiveLevel.ts
|
|
6663
6665
|
var import_sequelize_typescript55 = require("sequelize-typescript");
|
|
6664
|
-
var
|
|
6666
|
+
var msExecutiveLevel = class extends import_sequelize_typescript55.Model {
|
|
6665
6667
|
};
|
|
6666
6668
|
__decorateClass([
|
|
6667
6669
|
(0, import_sequelize_typescript55.Column)({
|
|
@@ -6669,75 +6671,101 @@ __decorateClass([
|
|
|
6669
6671
|
autoIncrement: true,
|
|
6670
6672
|
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6671
6673
|
})
|
|
6672
|
-
],
|
|
6674
|
+
], msExecutiveLevel.prototype, "id", 2);
|
|
6673
6675
|
__decorateClass([
|
|
6674
6676
|
(0, import_sequelize_typescript55.Column)({
|
|
6677
|
+
field: "group_id",
|
|
6675
6678
|
allowNull: true,
|
|
6676
|
-
type: import_sequelize_typescript55.DataType.
|
|
6679
|
+
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6677
6680
|
})
|
|
6678
|
-
],
|
|
6681
|
+
], msExecutiveLevel.prototype, "groupId", 2);
|
|
6682
|
+
__decorateClass([
|
|
6683
|
+
(0, import_sequelize_typescript55.Column)({
|
|
6684
|
+
allowNull: true,
|
|
6685
|
+
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6686
|
+
})
|
|
6687
|
+
], msExecutiveLevel.prototype, "level", 2);
|
|
6679
6688
|
__decorateClass([
|
|
6680
6689
|
(0, import_sequelize_typescript55.Column)({
|
|
6681
6690
|
allowNull: true,
|
|
6682
6691
|
type: import_sequelize_typescript55.DataType.STRING(255)
|
|
6683
6692
|
})
|
|
6684
|
-
],
|
|
6693
|
+
], msExecutiveLevel.prototype, "name", 2);
|
|
6685
6694
|
__decorateClass([
|
|
6686
6695
|
(0, import_sequelize_typescript55.Column)({
|
|
6687
6696
|
allowNull: true,
|
|
6688
|
-
type: import_sequelize_typescript55.DataType.STRING
|
|
6697
|
+
type: import_sequelize_typescript55.DataType.STRING(255)
|
|
6689
6698
|
})
|
|
6690
|
-
],
|
|
6699
|
+
], msExecutiveLevel.prototype, "description", 2);
|
|
6691
6700
|
__decorateClass([
|
|
6692
6701
|
(0, import_sequelize_typescript55.Column)({
|
|
6693
6702
|
allowNull: true,
|
|
6694
6703
|
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6695
6704
|
})
|
|
6696
|
-
],
|
|
6705
|
+
], msExecutiveLevel.prototype, "sort", 2);
|
|
6697
6706
|
__decorateClass([
|
|
6698
6707
|
(0, import_sequelize_typescript55.Column)({
|
|
6699
6708
|
allowNull: true,
|
|
6700
6709
|
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6701
6710
|
})
|
|
6702
|
-
],
|
|
6711
|
+
], msExecutiveLevel.prototype, "status", 2);
|
|
6712
|
+
__decorateClass([
|
|
6713
|
+
(0, import_sequelize_typescript55.Column)({
|
|
6714
|
+
field: "updated_info",
|
|
6715
|
+
allowNull: true,
|
|
6716
|
+
type: import_sequelize_typescript55.DataType.STRING(255)
|
|
6717
|
+
})
|
|
6718
|
+
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
6719
|
+
__decorateClass([
|
|
6720
|
+
(0, import_sequelize_typescript55.Column)({
|
|
6721
|
+
allowNull: true,
|
|
6722
|
+
type: import_sequelize_typescript55.DataType.STRING
|
|
6723
|
+
})
|
|
6724
|
+
], msExecutiveLevel.prototype, "remark", 2);
|
|
6725
|
+
__decorateClass([
|
|
6726
|
+
(0, import_sequelize_typescript55.Column)({
|
|
6727
|
+
allowNull: true,
|
|
6728
|
+
type: import_sequelize_typescript55.DataType.JSON
|
|
6729
|
+
})
|
|
6730
|
+
], msExecutiveLevel.prototype, "info", 2);
|
|
6703
6731
|
__decorateClass([
|
|
6704
6732
|
(0, import_sequelize_typescript55.Column)({
|
|
6705
6733
|
field: "created_by",
|
|
6706
6734
|
allowNull: true,
|
|
6707
6735
|
type: import_sequelize_typescript55.DataType.STRING(60)
|
|
6708
6736
|
})
|
|
6709
|
-
],
|
|
6737
|
+
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
6710
6738
|
__decorateClass([
|
|
6711
6739
|
(0, import_sequelize_typescript55.Column)({
|
|
6712
6740
|
field: "created_date",
|
|
6713
6741
|
allowNull: true,
|
|
6714
6742
|
type: import_sequelize_typescript55.DataType.DATE
|
|
6715
6743
|
})
|
|
6716
|
-
],
|
|
6744
|
+
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
6717
6745
|
__decorateClass([
|
|
6718
6746
|
(0, import_sequelize_typescript55.Column)({
|
|
6719
6747
|
field: "updated_by",
|
|
6720
6748
|
allowNull: true,
|
|
6721
6749
|
type: import_sequelize_typescript55.DataType.STRING(60)
|
|
6722
6750
|
})
|
|
6723
|
-
],
|
|
6751
|
+
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
6724
6752
|
__decorateClass([
|
|
6725
6753
|
(0, import_sequelize_typescript55.Column)({
|
|
6726
6754
|
field: "updated_date",
|
|
6727
6755
|
allowNull: true,
|
|
6728
6756
|
type: import_sequelize_typescript55.DataType.DATE
|
|
6729
6757
|
})
|
|
6730
|
-
],
|
|
6731
|
-
|
|
6758
|
+
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
6759
|
+
msExecutiveLevel = __decorateClass([
|
|
6732
6760
|
(0, import_sequelize_typescript55.Table)({
|
|
6733
|
-
tableName: "
|
|
6761
|
+
tableName: "ms_executive_level",
|
|
6734
6762
|
timestamps: false
|
|
6735
6763
|
})
|
|
6736
|
-
],
|
|
6764
|
+
], msExecutiveLevel);
|
|
6737
6765
|
|
|
6738
|
-
// src/databases/tables/
|
|
6766
|
+
// src/databases/tables/msGuidelines.ts
|
|
6739
6767
|
var import_sequelize_typescript56 = require("sequelize-typescript");
|
|
6740
|
-
var
|
|
6768
|
+
var msGuidelines = class extends import_sequelize_typescript56.Model {
|
|
6741
6769
|
};
|
|
6742
6770
|
__decorateClass([
|
|
6743
6771
|
(0, import_sequelize_typescript56.Column)({
|
|
@@ -6745,199 +6773,211 @@ __decorateClass([
|
|
|
6745
6773
|
autoIncrement: true,
|
|
6746
6774
|
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6747
6775
|
})
|
|
6748
|
-
],
|
|
6776
|
+
], msGuidelines.prototype, "id", 2);
|
|
6777
|
+
__decorateClass([
|
|
6778
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6779
|
+
allowNull: true,
|
|
6780
|
+
type: import_sequelize_typescript56.DataType.STRING(10)
|
|
6781
|
+
})
|
|
6782
|
+
], msGuidelines.prototype, "site", 2);
|
|
6749
6783
|
__decorateClass([
|
|
6750
6784
|
(0, import_sequelize_typescript56.Column)({
|
|
6751
6785
|
allowNull: true,
|
|
6752
6786
|
type: import_sequelize_typescript56.DataType.STRING(255)
|
|
6753
6787
|
})
|
|
6754
|
-
],
|
|
6788
|
+
], msGuidelines.prototype, "title", 2);
|
|
6755
6789
|
__decorateClass([
|
|
6756
6790
|
(0, import_sequelize_typescript56.Column)({
|
|
6757
|
-
field: "check_date",
|
|
6758
6791
|
allowNull: true,
|
|
6759
|
-
type: import_sequelize_typescript56.DataType.
|
|
6792
|
+
type: import_sequelize_typescript56.DataType.STRING
|
|
6760
6793
|
})
|
|
6761
|
-
],
|
|
6794
|
+
], msGuidelines.prototype, "detail", 2);
|
|
6762
6795
|
__decorateClass([
|
|
6763
6796
|
(0, import_sequelize_typescript56.Column)({
|
|
6764
6797
|
allowNull: true,
|
|
6765
|
-
type: import_sequelize_typescript56.DataType.
|
|
6798
|
+
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6766
6799
|
})
|
|
6767
|
-
],
|
|
6800
|
+
], msGuidelines.prototype, "sort", 2);
|
|
6801
|
+
__decorateClass([
|
|
6802
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6803
|
+
allowNull: true,
|
|
6804
|
+
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6805
|
+
})
|
|
6806
|
+
], msGuidelines.prototype, "status", 2);
|
|
6768
6807
|
__decorateClass([
|
|
6769
6808
|
(0, import_sequelize_typescript56.Column)({
|
|
6770
6809
|
field: "created_by",
|
|
6771
6810
|
allowNull: true,
|
|
6772
6811
|
type: import_sequelize_typescript56.DataType.STRING(60)
|
|
6773
6812
|
})
|
|
6774
|
-
],
|
|
6813
|
+
], msGuidelines.prototype, "createdBy", 2);
|
|
6775
6814
|
__decorateClass([
|
|
6776
6815
|
(0, import_sequelize_typescript56.Column)({
|
|
6777
6816
|
field: "created_date",
|
|
6778
6817
|
allowNull: true,
|
|
6779
6818
|
type: import_sequelize_typescript56.DataType.DATE
|
|
6780
6819
|
})
|
|
6781
|
-
],
|
|
6820
|
+
], msGuidelines.prototype, "createdDate", 2);
|
|
6782
6821
|
__decorateClass([
|
|
6783
6822
|
(0, import_sequelize_typescript56.Column)({
|
|
6784
6823
|
field: "updated_by",
|
|
6785
6824
|
allowNull: true,
|
|
6786
6825
|
type: import_sequelize_typescript56.DataType.STRING(60)
|
|
6787
6826
|
})
|
|
6788
|
-
],
|
|
6827
|
+
], msGuidelines.prototype, "updatedBy", 2);
|
|
6789
6828
|
__decorateClass([
|
|
6790
6829
|
(0, import_sequelize_typescript56.Column)({
|
|
6791
6830
|
field: "updated_date",
|
|
6792
6831
|
allowNull: true,
|
|
6793
6832
|
type: import_sequelize_typescript56.DataType.DATE
|
|
6794
6833
|
})
|
|
6795
|
-
],
|
|
6796
|
-
|
|
6834
|
+
], msGuidelines.prototype, "updatedDate", 2);
|
|
6835
|
+
msGuidelines = __decorateClass([
|
|
6797
6836
|
(0, import_sequelize_typescript56.Table)({
|
|
6798
|
-
tableName: "
|
|
6837
|
+
tableName: "ms_guidelines",
|
|
6799
6838
|
timestamps: false
|
|
6800
6839
|
})
|
|
6801
|
-
],
|
|
6840
|
+
], msGuidelines);
|
|
6802
6841
|
|
|
6803
|
-
// src/databases/tables/
|
|
6842
|
+
// src/databases/tables/msHoliday.ts
|
|
6804
6843
|
var import_sequelize_typescript57 = require("sequelize-typescript");
|
|
6805
|
-
var
|
|
6844
|
+
var msHoliday = class extends import_sequelize_typescript57.Model {
|
|
6806
6845
|
};
|
|
6807
6846
|
__decorateClass([
|
|
6808
6847
|
(0, import_sequelize_typescript57.Column)({
|
|
6809
6848
|
primaryKey: true,
|
|
6849
|
+
autoIncrement: true,
|
|
6810
6850
|
type: import_sequelize_typescript57.DataType.INTEGER
|
|
6811
6851
|
})
|
|
6812
|
-
],
|
|
6813
|
-
__decorateClass([
|
|
6814
|
-
(0, import_sequelize_typescript57.Column)({
|
|
6815
|
-
allowNull: true,
|
|
6816
|
-
type: import_sequelize_typescript57.DataType.STRING(255)
|
|
6817
|
-
})
|
|
6818
|
-
], msProvince.prototype, "code", 2);
|
|
6852
|
+
], msHoliday.prototype, "id", 2);
|
|
6819
6853
|
__decorateClass([
|
|
6820
6854
|
(0, import_sequelize_typescript57.Column)({
|
|
6821
6855
|
allowNull: true,
|
|
6822
6856
|
type: import_sequelize_typescript57.DataType.STRING(255)
|
|
6823
6857
|
})
|
|
6824
|
-
],
|
|
6858
|
+
], msHoliday.prototype, "name", 2);
|
|
6825
6859
|
__decorateClass([
|
|
6826
6860
|
(0, import_sequelize_typescript57.Column)({
|
|
6827
|
-
field: "
|
|
6861
|
+
field: "check_date",
|
|
6828
6862
|
allowNull: true,
|
|
6829
|
-
type: import_sequelize_typescript57.DataType.
|
|
6863
|
+
type: import_sequelize_typescript57.DataType.DATEONLY
|
|
6830
6864
|
})
|
|
6831
|
-
],
|
|
6865
|
+
], msHoliday.prototype, "checkDate", 2);
|
|
6832
6866
|
__decorateClass([
|
|
6833
6867
|
(0, import_sequelize_typescript57.Column)({
|
|
6834
|
-
field: "court_id",
|
|
6835
6868
|
allowNull: true,
|
|
6836
|
-
type: import_sequelize_typescript57.DataType.
|
|
6869
|
+
type: import_sequelize_typescript57.DataType.STRING(255)
|
|
6837
6870
|
})
|
|
6838
|
-
],
|
|
6871
|
+
], msHoliday.prototype, "status", 2);
|
|
6839
6872
|
__decorateClass([
|
|
6840
6873
|
(0, import_sequelize_typescript57.Column)({
|
|
6841
6874
|
field: "created_by",
|
|
6842
6875
|
allowNull: true,
|
|
6843
6876
|
type: import_sequelize_typescript57.DataType.STRING(60)
|
|
6844
6877
|
})
|
|
6845
|
-
],
|
|
6878
|
+
], msHoliday.prototype, "createdBy", 2);
|
|
6846
6879
|
__decorateClass([
|
|
6847
6880
|
(0, import_sequelize_typescript57.Column)({
|
|
6848
6881
|
field: "created_date",
|
|
6849
6882
|
allowNull: true,
|
|
6850
6883
|
type: import_sequelize_typescript57.DataType.DATE
|
|
6851
6884
|
})
|
|
6852
|
-
],
|
|
6885
|
+
], msHoliday.prototype, "createdDate", 2);
|
|
6853
6886
|
__decorateClass([
|
|
6854
6887
|
(0, import_sequelize_typescript57.Column)({
|
|
6855
6888
|
field: "updated_by",
|
|
6856
6889
|
allowNull: true,
|
|
6857
6890
|
type: import_sequelize_typescript57.DataType.STRING(60)
|
|
6858
6891
|
})
|
|
6859
|
-
],
|
|
6892
|
+
], msHoliday.prototype, "updatedBy", 2);
|
|
6860
6893
|
__decorateClass([
|
|
6861
6894
|
(0, import_sequelize_typescript57.Column)({
|
|
6862
6895
|
field: "updated_date",
|
|
6863
6896
|
allowNull: true,
|
|
6864
6897
|
type: import_sequelize_typescript57.DataType.DATE
|
|
6865
6898
|
})
|
|
6866
|
-
],
|
|
6867
|
-
|
|
6899
|
+
], msHoliday.prototype, "updatedDate", 2);
|
|
6900
|
+
msHoliday = __decorateClass([
|
|
6868
6901
|
(0, import_sequelize_typescript57.Table)({
|
|
6869
|
-
tableName: "
|
|
6902
|
+
tableName: "ms_holiday",
|
|
6870
6903
|
timestamps: false
|
|
6871
6904
|
})
|
|
6872
|
-
],
|
|
6905
|
+
], msHoliday);
|
|
6873
6906
|
|
|
6874
|
-
// src/databases/tables/
|
|
6907
|
+
// src/databases/tables/msProvince.ts
|
|
6875
6908
|
var import_sequelize_typescript58 = require("sequelize-typescript");
|
|
6876
|
-
var
|
|
6909
|
+
var msProvince = class extends import_sequelize_typescript58.Model {
|
|
6877
6910
|
};
|
|
6878
6911
|
__decorateClass([
|
|
6879
6912
|
(0, import_sequelize_typescript58.Column)({
|
|
6880
6913
|
primaryKey: true,
|
|
6881
|
-
autoIncrement: true,
|
|
6882
6914
|
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6883
6915
|
})
|
|
6884
|
-
],
|
|
6916
|
+
], msProvince.prototype, "id", 2);
|
|
6885
6917
|
__decorateClass([
|
|
6886
6918
|
(0, import_sequelize_typescript58.Column)({
|
|
6887
6919
|
allowNull: true,
|
|
6888
6920
|
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6889
6921
|
})
|
|
6890
|
-
],
|
|
6922
|
+
], msProvince.prototype, "code", 2);
|
|
6891
6923
|
__decorateClass([
|
|
6892
6924
|
(0, import_sequelize_typescript58.Column)({
|
|
6893
6925
|
allowNull: true,
|
|
6894
|
-
type: import_sequelize_typescript58.DataType.
|
|
6926
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6895
6927
|
})
|
|
6896
|
-
],
|
|
6928
|
+
], msProvince.prototype, "name", 2);
|
|
6897
6929
|
__decorateClass([
|
|
6898
6930
|
(0, import_sequelize_typescript58.Column)({
|
|
6931
|
+
field: "geo_id",
|
|
6899
6932
|
allowNull: true,
|
|
6900
6933
|
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6901
6934
|
})
|
|
6902
|
-
],
|
|
6935
|
+
], msProvince.prototype, "geoId", 2);
|
|
6936
|
+
__decorateClass([
|
|
6937
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6938
|
+
field: "court_id",
|
|
6939
|
+
allowNull: true,
|
|
6940
|
+
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6941
|
+
})
|
|
6942
|
+
], msProvince.prototype, "courtId", 2);
|
|
6903
6943
|
__decorateClass([
|
|
6904
6944
|
(0, import_sequelize_typescript58.Column)({
|
|
6905
6945
|
field: "created_by",
|
|
6906
6946
|
allowNull: true,
|
|
6907
6947
|
type: import_sequelize_typescript58.DataType.STRING(60)
|
|
6908
6948
|
})
|
|
6909
|
-
],
|
|
6949
|
+
], msProvince.prototype, "createdBy", 2);
|
|
6910
6950
|
__decorateClass([
|
|
6911
6951
|
(0, import_sequelize_typescript58.Column)({
|
|
6912
6952
|
field: "created_date",
|
|
6913
6953
|
allowNull: true,
|
|
6914
6954
|
type: import_sequelize_typescript58.DataType.DATE
|
|
6915
6955
|
})
|
|
6916
|
-
],
|
|
6956
|
+
], msProvince.prototype, "createdDate", 2);
|
|
6917
6957
|
__decorateClass([
|
|
6918
6958
|
(0, import_sequelize_typescript58.Column)({
|
|
6919
6959
|
field: "updated_by",
|
|
6920
6960
|
allowNull: true,
|
|
6921
6961
|
type: import_sequelize_typescript58.DataType.STRING(60)
|
|
6922
6962
|
})
|
|
6923
|
-
],
|
|
6963
|
+
], msProvince.prototype, "updatedBy", 2);
|
|
6924
6964
|
__decorateClass([
|
|
6925
6965
|
(0, import_sequelize_typescript58.Column)({
|
|
6926
6966
|
field: "updated_date",
|
|
6927
6967
|
allowNull: true,
|
|
6928
6968
|
type: import_sequelize_typescript58.DataType.DATE
|
|
6929
6969
|
})
|
|
6930
|
-
],
|
|
6931
|
-
|
|
6970
|
+
], msProvince.prototype, "updatedDate", 2);
|
|
6971
|
+
msProvince = __decorateClass([
|
|
6932
6972
|
(0, import_sequelize_typescript58.Table)({
|
|
6933
|
-
tableName: "
|
|
6973
|
+
tableName: "ms_province",
|
|
6934
6974
|
timestamps: false
|
|
6935
6975
|
})
|
|
6936
|
-
],
|
|
6976
|
+
], msProvince);
|
|
6937
6977
|
|
|
6938
|
-
// src/databases/tables/
|
|
6978
|
+
// src/databases/tables/msTitle.ts
|
|
6939
6979
|
var import_sequelize_typescript59 = require("sequelize-typescript");
|
|
6940
|
-
var
|
|
6980
|
+
var msTitle = class extends import_sequelize_typescript59.Model {
|
|
6941
6981
|
};
|
|
6942
6982
|
__decorateClass([
|
|
6943
6983
|
(0, import_sequelize_typescript59.Column)({
|
|
@@ -6945,662 +6985,726 @@ __decorateClass([
|
|
|
6945
6985
|
autoIncrement: true,
|
|
6946
6986
|
type: import_sequelize_typescript59.DataType.INTEGER
|
|
6947
6987
|
})
|
|
6948
|
-
],
|
|
6988
|
+
], msTitle.prototype, "id", 2);
|
|
6949
6989
|
__decorateClass([
|
|
6950
6990
|
(0, import_sequelize_typescript59.Column)({
|
|
6951
6991
|
allowNull: true,
|
|
6952
6992
|
type: import_sequelize_typescript59.DataType.STRING(255)
|
|
6953
6993
|
})
|
|
6954
|
-
],
|
|
6994
|
+
], msTitle.prototype, "name", 2);
|
|
6995
|
+
__decorateClass([
|
|
6996
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6997
|
+
allowNull: true,
|
|
6998
|
+
type: import_sequelize_typescript59.DataType.JSON
|
|
6999
|
+
})
|
|
7000
|
+
], msTitle.prototype, "info", 2);
|
|
7001
|
+
__decorateClass([
|
|
7002
|
+
(0, import_sequelize_typescript59.Column)({
|
|
7003
|
+
allowNull: true,
|
|
7004
|
+
type: import_sequelize_typescript59.DataType.INTEGER
|
|
7005
|
+
})
|
|
7006
|
+
], msTitle.prototype, "status", 2);
|
|
6955
7007
|
__decorateClass([
|
|
6956
7008
|
(0, import_sequelize_typescript59.Column)({
|
|
7009
|
+
field: "created_by",
|
|
6957
7010
|
allowNull: true,
|
|
6958
7011
|
type: import_sequelize_typescript59.DataType.STRING(60)
|
|
6959
7012
|
})
|
|
6960
|
-
],
|
|
7013
|
+
], msTitle.prototype, "createdBy", 2);
|
|
6961
7014
|
__decorateClass([
|
|
6962
7015
|
(0, import_sequelize_typescript59.Column)({
|
|
7016
|
+
field: "created_date",
|
|
6963
7017
|
allowNull: true,
|
|
6964
|
-
type: import_sequelize_typescript59.DataType.
|
|
7018
|
+
type: import_sequelize_typescript59.DataType.DATE
|
|
6965
7019
|
})
|
|
6966
|
-
],
|
|
7020
|
+
], msTitle.prototype, "createdDate", 2);
|
|
6967
7021
|
__decorateClass([
|
|
6968
7022
|
(0, import_sequelize_typescript59.Column)({
|
|
7023
|
+
field: "updated_by",
|
|
6969
7024
|
allowNull: true,
|
|
6970
|
-
type: import_sequelize_typescript59.DataType.STRING(
|
|
7025
|
+
type: import_sequelize_typescript59.DataType.STRING(60)
|
|
6971
7026
|
})
|
|
6972
|
-
],
|
|
7027
|
+
], msTitle.prototype, "updatedBy", 2);
|
|
6973
7028
|
__decorateClass([
|
|
6974
7029
|
(0, import_sequelize_typescript59.Column)({
|
|
7030
|
+
field: "updated_date",
|
|
6975
7031
|
allowNull: true,
|
|
6976
|
-
type: import_sequelize_typescript59.DataType.
|
|
7032
|
+
type: import_sequelize_typescript59.DataType.DATE
|
|
7033
|
+
})
|
|
7034
|
+
], msTitle.prototype, "updatedDate", 2);
|
|
7035
|
+
msTitle = __decorateClass([
|
|
7036
|
+
(0, import_sequelize_typescript59.Table)({
|
|
7037
|
+
tableName: "ms_title",
|
|
7038
|
+
timestamps: false
|
|
7039
|
+
})
|
|
7040
|
+
], msTitle);
|
|
7041
|
+
|
|
7042
|
+
// src/databases/tables/msWebsite.ts
|
|
7043
|
+
var import_sequelize_typescript60 = require("sequelize-typescript");
|
|
7044
|
+
var msWebsite = class extends import_sequelize_typescript60.Model {
|
|
7045
|
+
};
|
|
7046
|
+
__decorateClass([
|
|
7047
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7048
|
+
primaryKey: true,
|
|
7049
|
+
autoIncrement: true,
|
|
7050
|
+
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7051
|
+
})
|
|
7052
|
+
], msWebsite.prototype, "id", 2);
|
|
7053
|
+
__decorateClass([
|
|
7054
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7055
|
+
allowNull: true,
|
|
7056
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7057
|
+
})
|
|
7058
|
+
], msWebsite.prototype, "code", 2);
|
|
7059
|
+
__decorateClass([
|
|
7060
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7061
|
+
allowNull: true,
|
|
7062
|
+
type: import_sequelize_typescript60.DataType.STRING(60)
|
|
7063
|
+
})
|
|
7064
|
+
], msWebsite.prototype, "uuid", 2);
|
|
7065
|
+
__decorateClass([
|
|
7066
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7067
|
+
allowNull: true,
|
|
7068
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7069
|
+
})
|
|
7070
|
+
], msWebsite.prototype, "name", 2);
|
|
7071
|
+
__decorateClass([
|
|
7072
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7073
|
+
allowNull: true,
|
|
7074
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7075
|
+
})
|
|
7076
|
+
], msWebsite.prototype, "description", 2);
|
|
7077
|
+
__decorateClass([
|
|
7078
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7079
|
+
allowNull: true,
|
|
7080
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
6977
7081
|
})
|
|
6978
7082
|
], msWebsite.prototype, "url", 2);
|
|
6979
7083
|
__decorateClass([
|
|
6980
|
-
(0,
|
|
7084
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6981
7085
|
allowNull: true,
|
|
6982
|
-
type:
|
|
7086
|
+
type: import_sequelize_typescript60.DataType.INTEGER,
|
|
6983
7087
|
defaultValue: "1"
|
|
6984
7088
|
})
|
|
6985
7089
|
], msWebsite.prototype, "layout", 2);
|
|
6986
7090
|
__decorateClass([
|
|
6987
|
-
(0,
|
|
7091
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6988
7092
|
allowNull: true,
|
|
6989
|
-
type:
|
|
7093
|
+
type: import_sequelize_typescript60.DataType.INTEGER
|
|
6990
7094
|
})
|
|
6991
7095
|
], msWebsite.prototype, "type", 2);
|
|
6992
7096
|
__decorateClass([
|
|
6993
|
-
(0,
|
|
7097
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6994
7098
|
allowNull: true,
|
|
6995
|
-
type:
|
|
7099
|
+
type: import_sequelize_typescript60.DataType.INTEGER,
|
|
6996
7100
|
defaultValue: "1"
|
|
6997
7101
|
})
|
|
6998
7102
|
], msWebsite.prototype, "status", 2);
|
|
6999
7103
|
__decorateClass([
|
|
7000
|
-
(0,
|
|
7104
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7001
7105
|
allowNull: true,
|
|
7002
|
-
type:
|
|
7106
|
+
type: import_sequelize_typescript60.DataType.STRING(20)
|
|
7003
7107
|
})
|
|
7004
7108
|
], msWebsite.prototype, "region", 2);
|
|
7005
7109
|
__decorateClass([
|
|
7006
|
-
(0,
|
|
7110
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7007
7111
|
allowNull: true,
|
|
7008
|
-
type:
|
|
7112
|
+
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7009
7113
|
})
|
|
7010
7114
|
], msWebsite.prototype, "sort", 2);
|
|
7011
7115
|
__decorateClass([
|
|
7012
|
-
(0,
|
|
7116
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7013
7117
|
allowNull: true,
|
|
7014
|
-
type:
|
|
7118
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7015
7119
|
})
|
|
7016
7120
|
], msWebsite.prototype, "image", 2);
|
|
7017
7121
|
__decorateClass([
|
|
7018
|
-
(0,
|
|
7122
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7019
7123
|
allowNull: true,
|
|
7020
|
-
type:
|
|
7124
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7021
7125
|
})
|
|
7022
7126
|
], msWebsite.prototype, "address", 2);
|
|
7023
7127
|
__decorateClass([
|
|
7024
|
-
(0,
|
|
7128
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7025
7129
|
allowNull: true,
|
|
7026
|
-
type:
|
|
7130
|
+
type: import_sequelize_typescript60.DataType.STRING(100)
|
|
7027
7131
|
})
|
|
7028
7132
|
], msWebsite.prototype, "phone", 2);
|
|
7029
7133
|
__decorateClass([
|
|
7030
|
-
(0,
|
|
7134
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7031
7135
|
allowNull: true,
|
|
7032
|
-
type:
|
|
7136
|
+
type: import_sequelize_typescript60.DataType.STRING(100)
|
|
7033
7137
|
})
|
|
7034
7138
|
], msWebsite.prototype, "fax", 2);
|
|
7035
7139
|
__decorateClass([
|
|
7036
|
-
(0,
|
|
7140
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7037
7141
|
allowNull: true,
|
|
7038
|
-
type:
|
|
7142
|
+
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7039
7143
|
})
|
|
7040
7144
|
], msWebsite.prototype, "office", 2);
|
|
7041
7145
|
__decorateClass([
|
|
7042
|
-
(0,
|
|
7146
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7043
7147
|
allowNull: true,
|
|
7044
|
-
type:
|
|
7148
|
+
type: import_sequelize_typescript60.DataType.DATEONLY
|
|
7045
7149
|
})
|
|
7046
7150
|
], msWebsite.prototype, "opened", 2);
|
|
7047
7151
|
__decorateClass([
|
|
7048
|
-
(0,
|
|
7152
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7049
7153
|
allowNull: true,
|
|
7050
|
-
type:
|
|
7154
|
+
type: import_sequelize_typescript60.DataType.JSON
|
|
7051
7155
|
})
|
|
7052
7156
|
], msWebsite.prototype, "info", 2);
|
|
7053
7157
|
__decorateClass([
|
|
7054
|
-
(0,
|
|
7158
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7055
7159
|
field: "created_by",
|
|
7056
7160
|
allowNull: true,
|
|
7057
|
-
type:
|
|
7161
|
+
type: import_sequelize_typescript60.DataType.STRING(60),
|
|
7058
7162
|
comment: "\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22"
|
|
7059
7163
|
})
|
|
7060
7164
|
], msWebsite.prototype, "createdBy", 2);
|
|
7061
7165
|
__decorateClass([
|
|
7062
|
-
(0,
|
|
7166
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7063
7167
|
field: "created_date",
|
|
7064
7168
|
allowNull: true,
|
|
7065
|
-
type:
|
|
7169
|
+
type: import_sequelize_typescript60.DataType.DATE,
|
|
7066
7170
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E23\u0E49\u0E32\u0E07"
|
|
7067
7171
|
})
|
|
7068
7172
|
], msWebsite.prototype, "createdDate", 2);
|
|
7069
7173
|
__decorateClass([
|
|
7070
|
-
(0,
|
|
7174
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7071
7175
|
field: "updated_by",
|
|
7072
7176
|
allowNull: true,
|
|
7073
|
-
type:
|
|
7177
|
+
type: import_sequelize_typescript60.DataType.STRING(60),
|
|
7074
7178
|
comment: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E42\u0E14\u0E22"
|
|
7075
7179
|
})
|
|
7076
7180
|
], msWebsite.prototype, "updatedBy", 2);
|
|
7077
7181
|
__decorateClass([
|
|
7078
|
-
(0,
|
|
7182
|
+
(0, import_sequelize_typescript60.Column)({
|
|
7079
7183
|
field: "updated_date",
|
|
7080
7184
|
allowNull: true,
|
|
7081
|
-
type:
|
|
7185
|
+
type: import_sequelize_typescript60.DataType.DATE,
|
|
7082
7186
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E01\u0E49\u0E44\u0E02"
|
|
7083
7187
|
})
|
|
7084
7188
|
], msWebsite.prototype, "updatedDate", 2);
|
|
7085
7189
|
msWebsite = __decorateClass([
|
|
7086
|
-
(0,
|
|
7190
|
+
(0, import_sequelize_typescript60.Table)({
|
|
7087
7191
|
tableName: "ms_website",
|
|
7088
7192
|
timestamps: false
|
|
7089
7193
|
})
|
|
7090
7194
|
], msWebsite);
|
|
7091
7195
|
|
|
7092
7196
|
// src/databases/tables/oauthAccessToken.ts
|
|
7093
|
-
var
|
|
7094
|
-
var oauthAccessToken = class extends
|
|
7197
|
+
var import_sequelize_typescript61 = require("sequelize-typescript");
|
|
7198
|
+
var oauthAccessToken = class extends import_sequelize_typescript61.Model {
|
|
7095
7199
|
};
|
|
7096
7200
|
__decorateClass([
|
|
7097
|
-
(0,
|
|
7201
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7098
7202
|
primaryKey: true,
|
|
7099
7203
|
autoIncrement: true,
|
|
7100
|
-
type:
|
|
7204
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7101
7205
|
})
|
|
7102
7206
|
], oauthAccessToken.prototype, "id", 2);
|
|
7103
7207
|
__decorateClass([
|
|
7104
|
-
(0,
|
|
7208
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7105
7209
|
field: "access_token",
|
|
7106
|
-
type:
|
|
7210
|
+
type: import_sequelize_typescript61.DataType.STRING
|
|
7107
7211
|
})
|
|
7108
7212
|
], oauthAccessToken.prototype, "accessToken", 2);
|
|
7109
7213
|
__decorateClass([
|
|
7110
|
-
(0,
|
|
7214
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7111
7215
|
field: "client_id",
|
|
7112
|
-
type:
|
|
7216
|
+
type: import_sequelize_typescript61.DataType.STRING(32)
|
|
7113
7217
|
})
|
|
7114
7218
|
], oauthAccessToken.prototype, "clientId", 2);
|
|
7115
7219
|
__decorateClass([
|
|
7116
|
-
(0,
|
|
7220
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7117
7221
|
field: "user_id",
|
|
7118
7222
|
allowNull: true,
|
|
7119
|
-
type:
|
|
7223
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7120
7224
|
})
|
|
7121
7225
|
], oauthAccessToken.prototype, "userId", 2);
|
|
7122
7226
|
__decorateClass([
|
|
7123
|
-
(0,
|
|
7124
|
-
type:
|
|
7125
|
-
defaultValue:
|
|
7227
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7228
|
+
type: import_sequelize_typescript61.DataType.DATE,
|
|
7229
|
+
defaultValue: import_sequelize_typescript61.DataType.NOW
|
|
7126
7230
|
})
|
|
7127
7231
|
], oauthAccessToken.prototype, "expires", 2);
|
|
7128
7232
|
__decorateClass([
|
|
7129
|
-
(0,
|
|
7233
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7130
7234
|
allowNull: true,
|
|
7131
|
-
type:
|
|
7235
|
+
type: import_sequelize_typescript61.DataType.STRING(2e3)
|
|
7132
7236
|
})
|
|
7133
7237
|
], oauthAccessToken.prototype, "scope", 2);
|
|
7134
7238
|
__decorateClass([
|
|
7135
|
-
(0,
|
|
7239
|
+
(0, import_sequelize_typescript61.Column)({
|
|
7136
7240
|
field: "created_date",
|
|
7137
|
-
type:
|
|
7138
|
-
defaultValue:
|
|
7241
|
+
type: import_sequelize_typescript61.DataType.DATE,
|
|
7242
|
+
defaultValue: import_sequelize_typescript61.DataType.NOW
|
|
7139
7243
|
})
|
|
7140
7244
|
], oauthAccessToken.prototype, "createdDate", 2);
|
|
7141
7245
|
oauthAccessToken = __decorateClass([
|
|
7142
|
-
(0,
|
|
7246
|
+
(0, import_sequelize_typescript61.Table)({
|
|
7143
7247
|
tableName: "oauth_access_token",
|
|
7144
7248
|
timestamps: false
|
|
7145
7249
|
})
|
|
7146
7250
|
], oauthAccessToken);
|
|
7147
7251
|
|
|
7148
7252
|
// src/databases/tables/oauthRefreshToken.ts
|
|
7149
|
-
var
|
|
7150
|
-
var oauthRefreshToken = class extends
|
|
7253
|
+
var import_sequelize_typescript62 = require("sequelize-typescript");
|
|
7254
|
+
var oauthRefreshToken = class extends import_sequelize_typescript62.Model {
|
|
7151
7255
|
};
|
|
7152
7256
|
__decorateClass([
|
|
7153
|
-
(0,
|
|
7257
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7154
7258
|
primaryKey: true,
|
|
7155
7259
|
autoIncrement: true,
|
|
7156
|
-
type:
|
|
7260
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7157
7261
|
})
|
|
7158
7262
|
], oauthRefreshToken.prototype, "id", 2);
|
|
7159
7263
|
__decorateClass([
|
|
7160
|
-
(0,
|
|
7264
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7161
7265
|
field: "refresh_token",
|
|
7162
|
-
type:
|
|
7266
|
+
type: import_sequelize_typescript62.DataType.STRING(1e3)
|
|
7163
7267
|
})
|
|
7164
7268
|
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
7165
7269
|
__decorateClass([
|
|
7166
|
-
(0,
|
|
7270
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7167
7271
|
field: "client_id",
|
|
7168
|
-
type:
|
|
7272
|
+
type: import_sequelize_typescript62.DataType.STRING(32)
|
|
7169
7273
|
})
|
|
7170
7274
|
], oauthRefreshToken.prototype, "clientId", 2);
|
|
7171
7275
|
__decorateClass([
|
|
7172
|
-
(0,
|
|
7276
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7173
7277
|
field: "user_id",
|
|
7174
7278
|
allowNull: true,
|
|
7175
|
-
type:
|
|
7279
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7176
7280
|
})
|
|
7177
7281
|
], oauthRefreshToken.prototype, "userId", 2);
|
|
7178
7282
|
__decorateClass([
|
|
7179
|
-
(0,
|
|
7180
|
-
type:
|
|
7181
|
-
defaultValue:
|
|
7283
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7284
|
+
type: import_sequelize_typescript62.DataType.DATE,
|
|
7285
|
+
defaultValue: import_sequelize_typescript62.DataType.NOW
|
|
7182
7286
|
})
|
|
7183
7287
|
], oauthRefreshToken.prototype, "expires", 2);
|
|
7184
7288
|
__decorateClass([
|
|
7185
|
-
(0,
|
|
7289
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7186
7290
|
allowNull: true,
|
|
7187
|
-
type:
|
|
7291
|
+
type: import_sequelize_typescript62.DataType.STRING(1e3)
|
|
7188
7292
|
})
|
|
7189
7293
|
], oauthRefreshToken.prototype, "scope", 2);
|
|
7190
7294
|
__decorateClass([
|
|
7191
|
-
(0,
|
|
7295
|
+
(0, import_sequelize_typescript62.Column)({
|
|
7192
7296
|
field: "created_date",
|
|
7193
|
-
type:
|
|
7194
|
-
defaultValue:
|
|
7297
|
+
type: import_sequelize_typescript62.DataType.DATE,
|
|
7298
|
+
defaultValue: import_sequelize_typescript62.DataType.NOW
|
|
7195
7299
|
})
|
|
7196
7300
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
7197
7301
|
oauthRefreshToken = __decorateClass([
|
|
7198
|
-
(0,
|
|
7302
|
+
(0, import_sequelize_typescript62.Table)({
|
|
7199
7303
|
tableName: "oauth_refresh_token",
|
|
7200
7304
|
timestamps: false
|
|
7201
7305
|
})
|
|
7202
7306
|
], oauthRefreshToken);
|
|
7203
7307
|
|
|
7204
7308
|
// src/databases/tables/recruitment.ts
|
|
7205
|
-
var
|
|
7309
|
+
var import_sequelize_typescript64 = require("sequelize-typescript");
|
|
7206
7310
|
|
|
7207
7311
|
// src/databases/tables/recruitmentGroup.ts
|
|
7208
|
-
var
|
|
7209
|
-
var recruitmentGroup = class extends
|
|
7312
|
+
var import_sequelize_typescript63 = require("sequelize-typescript");
|
|
7313
|
+
var recruitmentGroup = class extends import_sequelize_typescript63.Model {
|
|
7210
7314
|
};
|
|
7211
7315
|
__decorateClass([
|
|
7212
|
-
(0,
|
|
7316
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7213
7317
|
primaryKey: true,
|
|
7214
7318
|
autoIncrement: true,
|
|
7215
|
-
type:
|
|
7319
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7216
7320
|
})
|
|
7217
7321
|
], recruitmentGroup.prototype, "id", 2);
|
|
7218
7322
|
__decorateClass([
|
|
7219
|
-
(0,
|
|
7323
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7220
7324
|
allowNull: true,
|
|
7221
|
-
type:
|
|
7325
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7222
7326
|
})
|
|
7223
7327
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
7224
7328
|
__decorateClass([
|
|
7225
|
-
(0,
|
|
7329
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7226
7330
|
field: "user_id",
|
|
7227
7331
|
allowNull: true,
|
|
7228
|
-
type:
|
|
7332
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7229
7333
|
})
|
|
7230
7334
|
], recruitmentGroup.prototype, "userId", 2);
|
|
7231
7335
|
__decorateClass([
|
|
7232
|
-
(0,
|
|
7233
|
-
type:
|
|
7336
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7337
|
+
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7234
7338
|
})
|
|
7235
7339
|
], recruitmentGroup.prototype, "name", 2);
|
|
7236
7340
|
__decorateClass([
|
|
7237
|
-
(0,
|
|
7341
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7238
7342
|
allowNull: true,
|
|
7239
|
-
type:
|
|
7343
|
+
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7240
7344
|
})
|
|
7241
7345
|
], recruitmentGroup.prototype, "description", 2);
|
|
7242
7346
|
__decorateClass([
|
|
7243
|
-
(0,
|
|
7347
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7244
7348
|
allowNull: true,
|
|
7245
|
-
type:
|
|
7349
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7246
7350
|
})
|
|
7247
7351
|
], recruitmentGroup.prototype, "sort", 2);
|
|
7248
7352
|
__decorateClass([
|
|
7249
|
-
(0,
|
|
7353
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7250
7354
|
allowNull: true,
|
|
7251
|
-
type:
|
|
7355
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7252
7356
|
})
|
|
7253
7357
|
], recruitmentGroup.prototype, "status", 2);
|
|
7254
7358
|
__decorateClass([
|
|
7255
|
-
(0,
|
|
7359
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7256
7360
|
field: "created_by",
|
|
7257
7361
|
allowNull: true,
|
|
7258
|
-
type:
|
|
7362
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7259
7363
|
})
|
|
7260
7364
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
7261
7365
|
__decorateClass([
|
|
7262
|
-
(0,
|
|
7366
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7263
7367
|
field: "created_date",
|
|
7264
7368
|
allowNull: true,
|
|
7265
|
-
type:
|
|
7369
|
+
type: import_sequelize_typescript63.DataType.DATE
|
|
7266
7370
|
})
|
|
7267
7371
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
7268
7372
|
__decorateClass([
|
|
7269
|
-
(0,
|
|
7373
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7270
7374
|
field: "updated_by",
|
|
7271
7375
|
allowNull: true,
|
|
7272
|
-
type:
|
|
7376
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7273
7377
|
})
|
|
7274
7378
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
7275
7379
|
__decorateClass([
|
|
7276
|
-
(0,
|
|
7380
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7277
7381
|
field: "updated_date",
|
|
7278
7382
|
allowNull: true,
|
|
7279
|
-
type:
|
|
7383
|
+
type: import_sequelize_typescript63.DataType.DATE
|
|
7280
7384
|
})
|
|
7281
7385
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
7282
7386
|
__decorateClass([
|
|
7283
|
-
(0,
|
|
7387
|
+
(0, import_sequelize_typescript63.HasMany)(() => recruitment, {
|
|
7284
7388
|
sourceKey: "id"
|
|
7285
7389
|
})
|
|
7286
7390
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
7287
7391
|
recruitmentGroup = __decorateClass([
|
|
7288
|
-
(0,
|
|
7392
|
+
(0, import_sequelize_typescript63.Table)({
|
|
7289
7393
|
tableName: "recruitment_group",
|
|
7290
7394
|
timestamps: false
|
|
7291
7395
|
})
|
|
7292
7396
|
], recruitmentGroup);
|
|
7293
7397
|
|
|
7294
7398
|
// src/databases/tables/recruitment.ts
|
|
7295
|
-
var recruitment = class extends
|
|
7399
|
+
var recruitment = class extends import_sequelize_typescript64.Model {
|
|
7296
7400
|
};
|
|
7297
7401
|
__decorateClass([
|
|
7298
|
-
(0,
|
|
7402
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7299
7403
|
primaryKey: true,
|
|
7300
7404
|
autoIncrement: true,
|
|
7301
|
-
type:
|
|
7405
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7302
7406
|
})
|
|
7303
7407
|
], recruitment.prototype, "id", 2);
|
|
7304
7408
|
__decorateClass([
|
|
7305
|
-
(0,
|
|
7409
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7306
7410
|
allowNull: true,
|
|
7307
|
-
type:
|
|
7411
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7308
7412
|
})
|
|
7309
7413
|
], recruitment.prototype, "uuid", 2);
|
|
7310
7414
|
__decorateClass([
|
|
7311
|
-
(0,
|
|
7312
|
-
(0,
|
|
7415
|
+
(0, import_sequelize_typescript64.ForeignKey)(() => recruitmentGroup),
|
|
7416
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7313
7417
|
field: "group_id",
|
|
7314
7418
|
allowNull: true,
|
|
7315
|
-
type:
|
|
7419
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7316
7420
|
})
|
|
7317
7421
|
], recruitment.prototype, "groupId", 2);
|
|
7318
7422
|
__decorateClass([
|
|
7319
|
-
(0,
|
|
7423
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7320
7424
|
field: "position_name",
|
|
7321
7425
|
allowNull: true,
|
|
7322
|
-
type:
|
|
7426
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7323
7427
|
})
|
|
7324
7428
|
], recruitment.prototype, "positionName", 2);
|
|
7325
7429
|
__decorateClass([
|
|
7326
|
-
(0,
|
|
7430
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7327
7431
|
field: "account_listed",
|
|
7328
7432
|
allowNull: true,
|
|
7329
|
-
type:
|
|
7433
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7330
7434
|
})
|
|
7331
7435
|
], recruitment.prototype, "accountListed", 2);
|
|
7332
7436
|
__decorateClass([
|
|
7333
|
-
(0,
|
|
7437
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7334
7438
|
field: "account_age",
|
|
7335
7439
|
allowNull: true,
|
|
7336
|
-
type:
|
|
7440
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7337
7441
|
})
|
|
7338
7442
|
], recruitment.prototype, "accountAge", 2);
|
|
7339
7443
|
__decorateClass([
|
|
7340
|
-
(0,
|
|
7444
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7341
7445
|
field: "account_expires",
|
|
7342
7446
|
allowNull: true,
|
|
7343
|
-
type:
|
|
7447
|
+
type: import_sequelize_typescript64.DataType.DATEONLY
|
|
7344
7448
|
})
|
|
7345
7449
|
], recruitment.prototype, "accountExpires", 2);
|
|
7346
7450
|
__decorateClass([
|
|
7347
|
-
(0,
|
|
7451
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7348
7452
|
field: "called_position",
|
|
7349
7453
|
allowNull: true,
|
|
7350
|
-
type:
|
|
7454
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7351
7455
|
})
|
|
7352
7456
|
], recruitment.prototype, "calledPosition", 2);
|
|
7353
7457
|
__decorateClass([
|
|
7354
|
-
(0,
|
|
7458
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7355
7459
|
allowNull: true,
|
|
7356
|
-
type:
|
|
7460
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7357
7461
|
})
|
|
7358
7462
|
], recruitment.prototype, "sort", 2);
|
|
7359
7463
|
__decorateClass([
|
|
7360
|
-
(0,
|
|
7464
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7361
7465
|
allowNull: true,
|
|
7362
|
-
type:
|
|
7466
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7363
7467
|
})
|
|
7364
7468
|
], recruitment.prototype, "status", 2);
|
|
7365
7469
|
__decorateClass([
|
|
7366
|
-
(0,
|
|
7470
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7367
7471
|
field: "created_by",
|
|
7368
7472
|
allowNull: true,
|
|
7369
|
-
type:
|
|
7473
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7370
7474
|
})
|
|
7371
7475
|
], recruitment.prototype, "createdBy", 2);
|
|
7372
7476
|
__decorateClass([
|
|
7373
|
-
(0,
|
|
7477
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7374
7478
|
field: "created_date",
|
|
7375
7479
|
allowNull: true,
|
|
7376
|
-
type:
|
|
7480
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7377
7481
|
})
|
|
7378
7482
|
], recruitment.prototype, "createdDate", 2);
|
|
7379
7483
|
__decorateClass([
|
|
7380
|
-
(0,
|
|
7484
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7381
7485
|
field: "updated_by",
|
|
7382
7486
|
allowNull: true,
|
|
7383
|
-
type:
|
|
7487
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7384
7488
|
})
|
|
7385
7489
|
], recruitment.prototype, "updatedBy", 2);
|
|
7386
7490
|
__decorateClass([
|
|
7387
|
-
(0,
|
|
7491
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7388
7492
|
field: "updated_date",
|
|
7389
7493
|
allowNull: true,
|
|
7390
|
-
type:
|
|
7494
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7391
7495
|
})
|
|
7392
7496
|
], recruitment.prototype, "updatedDate", 2);
|
|
7393
7497
|
__decorateClass([
|
|
7394
|
-
(0,
|
|
7498
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7395
7499
|
field: "ref_id",
|
|
7396
7500
|
allowNull: true,
|
|
7397
|
-
type:
|
|
7501
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7398
7502
|
})
|
|
7399
7503
|
], recruitment.prototype, "refId", 2);
|
|
7400
7504
|
__decorateClass([
|
|
7401
|
-
(0,
|
|
7505
|
+
(0, import_sequelize_typescript64.BelongsTo)(() => recruitmentGroup)
|
|
7402
7506
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
7403
7507
|
recruitment = __decorateClass([
|
|
7404
|
-
(0,
|
|
7508
|
+
(0, import_sequelize_typescript64.Table)({
|
|
7405
7509
|
tableName: "recruitment",
|
|
7406
7510
|
timestamps: false
|
|
7407
7511
|
})
|
|
7408
7512
|
], recruitment);
|
|
7409
7513
|
|
|
7410
7514
|
// src/databases/tables/settings.ts
|
|
7411
|
-
var
|
|
7412
|
-
var settings = class extends
|
|
7515
|
+
var import_sequelize_typescript65 = require("sequelize-typescript");
|
|
7516
|
+
var settings = class extends import_sequelize_typescript65.Model {
|
|
7413
7517
|
};
|
|
7414
7518
|
__decorateClass([
|
|
7415
|
-
(0,
|
|
7519
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7416
7520
|
primaryKey: true,
|
|
7417
7521
|
autoIncrement: true,
|
|
7418
|
-
type:
|
|
7522
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7419
7523
|
})
|
|
7420
7524
|
], settings.prototype, "id", 2);
|
|
7421
7525
|
__decorateClass([
|
|
7422
|
-
(0,
|
|
7526
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7423
7527
|
allowNull: true,
|
|
7424
|
-
type:
|
|
7528
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7425
7529
|
})
|
|
7426
7530
|
], settings.prototype, "key", 2);
|
|
7427
7531
|
__decorateClass([
|
|
7428
|
-
(0,
|
|
7532
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7429
7533
|
allowNull: true,
|
|
7430
|
-
type:
|
|
7534
|
+
type: import_sequelize_typescript65.DataType.STRING
|
|
7431
7535
|
})
|
|
7432
7536
|
], settings.prototype, "value", 2);
|
|
7433
7537
|
__decorateClass([
|
|
7434
|
-
(0,
|
|
7538
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7435
7539
|
allowNull: true,
|
|
7436
|
-
type:
|
|
7540
|
+
type: import_sequelize_typescript65.DataType.JSON
|
|
7437
7541
|
})
|
|
7438
7542
|
], settings.prototype, "data", 2);
|
|
7439
7543
|
__decorateClass([
|
|
7440
|
-
(0,
|
|
7544
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7441
7545
|
field: "updated_by",
|
|
7442
7546
|
allowNull: true,
|
|
7443
|
-
type:
|
|
7547
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7444
7548
|
})
|
|
7445
7549
|
], settings.prototype, "updatedBy", 2);
|
|
7446
7550
|
__decorateClass([
|
|
7447
|
-
(0,
|
|
7551
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7448
7552
|
field: "updated_date",
|
|
7449
7553
|
allowNull: true,
|
|
7450
|
-
type:
|
|
7554
|
+
type: import_sequelize_typescript65.DataType.DATE
|
|
7451
7555
|
})
|
|
7452
7556
|
], settings.prototype, "updatedDate", 2);
|
|
7453
7557
|
settings = __decorateClass([
|
|
7454
|
-
(0,
|
|
7558
|
+
(0, import_sequelize_typescript65.Table)({
|
|
7455
7559
|
tableName: "settings",
|
|
7456
7560
|
timestamps: false
|
|
7457
7561
|
})
|
|
7458
7562
|
], settings);
|
|
7459
7563
|
|
|
7460
7564
|
// src/databases/tables/userCenterV.ts
|
|
7461
|
-
var
|
|
7462
|
-
var userCenterV = class extends
|
|
7565
|
+
var import_sequelize_typescript66 = require("sequelize-typescript");
|
|
7566
|
+
var userCenterV = class extends import_sequelize_typescript66.Model {
|
|
7463
7567
|
};
|
|
7464
7568
|
__decorateClass([
|
|
7465
|
-
(0,
|
|
7466
|
-
type:
|
|
7569
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7570
|
+
type: import_sequelize_typescript66.DataType.INTEGER,
|
|
7467
7571
|
defaultValue: "0"
|
|
7468
7572
|
})
|
|
7469
7573
|
], userCenterV.prototype, "id", 2);
|
|
7470
7574
|
__decorateClass([
|
|
7471
|
-
(0,
|
|
7472
|
-
type:
|
|
7575
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7576
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7473
7577
|
})
|
|
7474
7578
|
], userCenterV.prototype, "uuid", 2);
|
|
7475
7579
|
__decorateClass([
|
|
7476
|
-
(0,
|
|
7477
|
-
type:
|
|
7580
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7581
|
+
type: import_sequelize_typescript66.DataType.STRING(100)
|
|
7478
7582
|
})
|
|
7479
7583
|
], userCenterV.prototype, "username", 2);
|
|
7480
7584
|
__decorateClass([
|
|
7481
|
-
(0,
|
|
7585
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7482
7586
|
field: "password_hash",
|
|
7483
7587
|
allowNull: true,
|
|
7484
|
-
type:
|
|
7588
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7485
7589
|
})
|
|
7486
7590
|
], userCenterV.prototype, "passwordHash", 2);
|
|
7487
7591
|
__decorateClass([
|
|
7488
|
-
(0,
|
|
7592
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7489
7593
|
field: "password_reset_token",
|
|
7490
7594
|
allowNull: true,
|
|
7491
|
-
type:
|
|
7595
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7492
7596
|
})
|
|
7493
7597
|
], userCenterV.prototype, "passwordResetToken", 2);
|
|
7494
7598
|
__decorateClass([
|
|
7495
|
-
(0,
|
|
7599
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7496
7600
|
field: "verification_token",
|
|
7497
7601
|
allowNull: true,
|
|
7498
|
-
type:
|
|
7602
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7499
7603
|
})
|
|
7500
7604
|
], userCenterV.prototype, "verificationToken", 2);
|
|
7501
7605
|
__decorateClass([
|
|
7502
|
-
(0,
|
|
7606
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7503
7607
|
allowNull: true,
|
|
7504
|
-
type:
|
|
7608
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7505
7609
|
})
|
|
7506
7610
|
], userCenterV.prototype, "email", 2);
|
|
7507
7611
|
__decorateClass([
|
|
7508
|
-
(0,
|
|
7612
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7509
7613
|
field: "auth_key",
|
|
7510
7614
|
allowNull: true,
|
|
7511
|
-
type:
|
|
7615
|
+
type: import_sequelize_typescript66.DataType.STRING(32)
|
|
7512
7616
|
})
|
|
7513
7617
|
], userCenterV.prototype, "authKey", 2);
|
|
7514
7618
|
__decorateClass([
|
|
7515
|
-
(0,
|
|
7619
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7516
7620
|
field: "access_token",
|
|
7517
7621
|
allowNull: true,
|
|
7518
|
-
type:
|
|
7622
|
+
type: import_sequelize_typescript66.DataType.STRING
|
|
7519
7623
|
})
|
|
7520
7624
|
], userCenterV.prototype, "accessToken", 2);
|
|
7521
7625
|
__decorateClass([
|
|
7522
|
-
(0,
|
|
7626
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7523
7627
|
field: "user_level",
|
|
7524
7628
|
allowNull: true,
|
|
7525
|
-
type:
|
|
7629
|
+
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7526
7630
|
})
|
|
7527
7631
|
], userCenterV.prototype, "userLevel", 2);
|
|
7528
7632
|
__decorateClass([
|
|
7529
|
-
(0,
|
|
7633
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7530
7634
|
field: "user_authen",
|
|
7531
7635
|
allowNull: true,
|
|
7532
|
-
type:
|
|
7636
|
+
type: import_sequelize_typescript66.DataType.STRING(64)
|
|
7533
7637
|
})
|
|
7534
7638
|
], userCenterV.prototype, "userAuthen", 2);
|
|
7535
7639
|
__decorateClass([
|
|
7536
|
-
(0,
|
|
7640
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7537
7641
|
field: "user_type",
|
|
7538
7642
|
allowNull: true,
|
|
7539
|
-
type:
|
|
7643
|
+
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7540
7644
|
})
|
|
7541
7645
|
], userCenterV.prototype, "userType", 2);
|
|
7542
7646
|
__decorateClass([
|
|
7543
|
-
(0,
|
|
7647
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7544
7648
|
allowNull: true,
|
|
7545
|
-
type:
|
|
7649
|
+
type: import_sequelize_typescript66.DataType.STRING(10)
|
|
7546
7650
|
})
|
|
7547
7651
|
], userCenterV.prototype, "prefix", 2);
|
|
7548
7652
|
__decorateClass([
|
|
7549
|
-
(0,
|
|
7653
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7550
7654
|
field: "first_name",
|
|
7551
7655
|
allowNull: true,
|
|
7552
|
-
type:
|
|
7656
|
+
type: import_sequelize_typescript66.DataType.STRING(100)
|
|
7553
7657
|
})
|
|
7554
7658
|
], userCenterV.prototype, "firstName", 2);
|
|
7555
7659
|
__decorateClass([
|
|
7556
|
-
(0,
|
|
7660
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7557
7661
|
field: "last_name",
|
|
7558
7662
|
allowNull: true,
|
|
7559
|
-
type:
|
|
7663
|
+
type: import_sequelize_typescript66.DataType.STRING(100)
|
|
7560
7664
|
})
|
|
7561
7665
|
], userCenterV.prototype, "lastName", 2);
|
|
7562
7666
|
__decorateClass([
|
|
7563
|
-
(0,
|
|
7667
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7564
7668
|
allowNull: true,
|
|
7565
|
-
type:
|
|
7669
|
+
type: import_sequelize_typescript66.DataType.STRING(20)
|
|
7566
7670
|
})
|
|
7567
7671
|
], userCenterV.prototype, "phone", 2);
|
|
7568
7672
|
__decorateClass([
|
|
7569
|
-
(0,
|
|
7673
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7570
7674
|
allowNull: true,
|
|
7571
|
-
type:
|
|
7675
|
+
type: import_sequelize_typescript66.DataType.SMALLINT
|
|
7572
7676
|
})
|
|
7573
7677
|
], userCenterV.prototype, "status", 2);
|
|
7574
7678
|
__decorateClass([
|
|
7575
|
-
(0,
|
|
7679
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7576
7680
|
field: "created_by",
|
|
7577
7681
|
allowNull: true,
|
|
7578
|
-
type:
|
|
7682
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7579
7683
|
})
|
|
7580
7684
|
], userCenterV.prototype, "createdBy", 2);
|
|
7581
7685
|
__decorateClass([
|
|
7582
|
-
(0,
|
|
7686
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7583
7687
|
field: "created_date",
|
|
7584
7688
|
allowNull: true,
|
|
7585
|
-
type:
|
|
7689
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7586
7690
|
})
|
|
7587
7691
|
], userCenterV.prototype, "createdDate", 2);
|
|
7588
7692
|
__decorateClass([
|
|
7589
|
-
(0,
|
|
7693
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7590
7694
|
field: "updated_by",
|
|
7591
7695
|
allowNull: true,
|
|
7592
|
-
type:
|
|
7696
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7593
7697
|
})
|
|
7594
7698
|
], userCenterV.prototype, "updatedBy", 2);
|
|
7595
7699
|
__decorateClass([
|
|
7596
|
-
(0,
|
|
7700
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7597
7701
|
field: "updated_date",
|
|
7598
7702
|
allowNull: true,
|
|
7599
|
-
type:
|
|
7703
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7600
7704
|
})
|
|
7601
7705
|
], userCenterV.prototype, "updatedDate", 2);
|
|
7602
7706
|
userCenterV = __decorateClass([
|
|
7603
|
-
(0,
|
|
7707
|
+
(0, import_sequelize_typescript66.Table)({
|
|
7604
7708
|
tableName: "user_center_v",
|
|
7605
7709
|
timestamps: false,
|
|
7606
7710
|
comment: "VIEW"
|
|
@@ -7608,38 +7712,38 @@ userCenterV = __decorateClass([
|
|
|
7608
7712
|
], userCenterV);
|
|
7609
7713
|
|
|
7610
7714
|
// src/databases/tables/userRoleV.ts
|
|
7611
|
-
var
|
|
7612
|
-
var userRoleV = class extends
|
|
7715
|
+
var import_sequelize_typescript67 = require("sequelize-typescript");
|
|
7716
|
+
var userRoleV = class extends import_sequelize_typescript67.Model {
|
|
7613
7717
|
};
|
|
7614
7718
|
__decorateClass([
|
|
7615
|
-
(0,
|
|
7616
|
-
type:
|
|
7719
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7720
|
+
type: import_sequelize_typescript67.DataType.INTEGER,
|
|
7617
7721
|
defaultValue: "0"
|
|
7618
7722
|
})
|
|
7619
7723
|
], userRoleV.prototype, "id", 2);
|
|
7620
7724
|
__decorateClass([
|
|
7621
|
-
(0,
|
|
7725
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7622
7726
|
field: "website_th",
|
|
7623
7727
|
allowNull: true,
|
|
7624
|
-
type:
|
|
7728
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7625
7729
|
})
|
|
7626
7730
|
], userRoleV.prototype, "websiteTh", 2);
|
|
7627
7731
|
__decorateClass([
|
|
7628
|
-
(0,
|
|
7732
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7629
7733
|
field: "website_en",
|
|
7630
7734
|
allowNull: true,
|
|
7631
|
-
type:
|
|
7735
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7632
7736
|
})
|
|
7633
7737
|
], userRoleV.prototype, "websiteEn", 2);
|
|
7634
7738
|
__decorateClass([
|
|
7635
|
-
(0,
|
|
7739
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7636
7740
|
field: "website_fr",
|
|
7637
7741
|
allowNull: true,
|
|
7638
|
-
type:
|
|
7742
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7639
7743
|
})
|
|
7640
7744
|
], userRoleV.prototype, "websiteFr", 2);
|
|
7641
7745
|
userRoleV = __decorateClass([
|
|
7642
|
-
(0,
|
|
7746
|
+
(0, import_sequelize_typescript67.Table)({
|
|
7643
7747
|
tableName: "user_role_v",
|
|
7644
7748
|
timestamps: false,
|
|
7645
7749
|
comment: "VIEW"
|
|
@@ -7697,6 +7801,7 @@ userRoleV = __decorateClass([
|
|
|
7697
7801
|
msExecutive,
|
|
7698
7802
|
msExecutiveBoard,
|
|
7699
7803
|
msExecutiveGroup,
|
|
7804
|
+
msExecutiveLevel,
|
|
7700
7805
|
msExecutivePosition,
|
|
7701
7806
|
msGuidelines,
|
|
7702
7807
|
msHoliday,
|