forked from wansenai/eairp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add customer member supplier support english
- Loading branch information
Showing
6 changed files
with
430 additions
and
0 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
core/domain/src/main/kotlin/com/wansenai/bo/CustomerExportBO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
/* | ||
* Copyright 2024-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo | ||
|
||
import com.wansenai.NoArg | ||
import com.wansenai.utils.excel.ExcelExport | ||
import lombok.Data | ||
import java.math.BigDecimal | ||
import java.time.LocalDateTime | ||
|
||
@NoArg | ||
@Data | ||
data class CustomerExportBO( | ||
|
||
var id: Long?, | ||
|
||
@ExcelExport(value = "客户", sort = 1) | ||
var customerName: String?, | ||
|
||
@ExcelExport(value = "联系人", sort = 2) | ||
var contact: String?, | ||
|
||
@ExcelExport(value = "手机号码", sort = 3) | ||
var phoneNumber: String?, | ||
|
||
@ExcelExport(value = "电子邮箱", sort = 4) | ||
var email: String?, | ||
|
||
@ExcelExport(value = "传真", sort = 5) | ||
var fax: String?, | ||
|
||
@ExcelExport(value = "一季度收款", sort = 8) | ||
var firstQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "二季度收款", sort = 9) | ||
var secondQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "三季度收款", sort = 10) | ||
var thirdQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "四季度收款", sort = 11) | ||
var fourthQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "累计应收账款", sort = 12) | ||
var totalAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "地址", sort = 6) | ||
var address: String?, | ||
|
||
@ExcelExport(value = "纳税人识别号", sort = 13) | ||
var taxNumber: String?, | ||
|
||
@ExcelExport(value = "开户行", sort = 15) | ||
var bankName: String?, | ||
|
||
@ExcelExport(value = "银行账户", sort = 16) | ||
var accountNumber: String?, | ||
|
||
@ExcelExport(value = "税率(%)", sort = 14) | ||
var taxRate: BigDecimal?, | ||
|
||
@ExcelExport(value = "状态", kv="0-启用;1-停用", sort = 7) | ||
var status: Int?, | ||
|
||
@ExcelExport(value = "备注", sort = 17) | ||
var remark: String?, | ||
|
||
var sort: Int?, | ||
|
||
var createTime: LocalDateTime?, | ||
) |
81 changes: 81 additions & 0 deletions
81
core/domain/src/main/kotlin/com/wansenai/bo/CustomerExportEnBO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
/* | ||
* Copyright 2024-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo | ||
|
||
import com.wansenai.NoArg | ||
import com.wansenai.utils.excel.ExcelExport | ||
import lombok.Data | ||
import java.math.BigDecimal | ||
import java.time.LocalDateTime | ||
|
||
@NoArg | ||
@Data | ||
data class CustomerExportEnBO( | ||
|
||
var id: Long?, | ||
|
||
@ExcelExport(value = "Customer", sort = 1) | ||
var customerName: String?, | ||
|
||
@ExcelExport(value = "Contact", sort = 2) | ||
var contact: String?, | ||
|
||
@ExcelExport(value = "Phone Number", sort = 3) | ||
var phoneNumber: String?, | ||
|
||
@ExcelExport(value = "Email", sort = 4) | ||
var email: String?, | ||
|
||
@ExcelExport(value = "Fax", sort = 5) | ||
var fax: String?, | ||
|
||
@ExcelExport(value = "First Quarter Collection", sort = 8) | ||
var firstQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "Second Quarter Collection", sort = 9) | ||
var secondQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "Third Quarter Collection", sort = 10) | ||
var thirdQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "Fourth Quarter Collection", sort = 11) | ||
var fourthQuarterAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "Total Collection", sort = 12) | ||
var totalAccountReceivable: BigDecimal?, | ||
|
||
@ExcelExport(value = "Address", sort = 6) | ||
var address: String?, | ||
|
||
@ExcelExport(value = "Tax Number", sort = 13) | ||
var taxNumber: String?, | ||
|
||
@ExcelExport(value = "Bank", sort = 15) | ||
var bankName: String?, | ||
|
||
@ExcelExport(value = "Bank Account Number", sort = 16) | ||
var accountNumber: String?, | ||
|
||
@ExcelExport(value = "Tax Rate(%)", sort = 14) | ||
var taxRate: BigDecimal?, | ||
|
||
@ExcelExport(value = "Status", kv="0-Enable;1-Deactivate", sort = 7) | ||
var status: Int?, | ||
|
||
@ExcelExport(value = "Remark", sort = 17) | ||
var remark: String?, | ||
|
||
var sort: Int?, | ||
|
||
var createTime: LocalDateTime?, | ||
) |
51 changes: 51 additions & 0 deletions
51
core/domain/src/main/kotlin/com/wansenai/bo/MemberExportBO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright 2024-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo | ||
|
||
import com.wansenai.NoArg | ||
import com.wansenai.utils.excel.ExcelExport | ||
import lombok.Data | ||
import java.math.BigDecimal | ||
import java.time.LocalDateTime | ||
|
||
@NoArg | ||
@Data | ||
data class MemberExportBO( | ||
|
||
var id: Long?, | ||
|
||
@ExcelExport(value = "会原卡号", sort = 1) | ||
var memberNumber: String?, | ||
|
||
@ExcelExport(value = "会员名称", sort = 2) | ||
var memberName: String?, | ||
|
||
@ExcelExport(value = "手机号码", sort = 3) | ||
var phoneNumber: String?, | ||
|
||
@ExcelExport(value = "电子邮箱", sort = 4) | ||
var email: String?, | ||
|
||
@ExcelExport(value = "预付款", sort = 5) | ||
var advancePayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "状态", kv="0-启用;1-停用", sort = 6) | ||
var status: Int?, | ||
|
||
@ExcelExport(value = "备注", sort = 7) | ||
var remark: String?, | ||
|
||
var sort: Int?, | ||
|
||
var createTime: LocalDateTime?, | ||
) |
51 changes: 51 additions & 0 deletions
51
core/domain/src/main/kotlin/com/wansenai/bo/MemberExportEnBO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright 2024-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo | ||
|
||
import com.wansenai.NoArg | ||
import com.wansenai.utils.excel.ExcelExport | ||
import lombok.Data | ||
import java.math.BigDecimal | ||
import java.time.LocalDateTime | ||
|
||
@NoArg | ||
@Data | ||
data class MemberExportEnBO( | ||
|
||
var id: Long?, | ||
|
||
@ExcelExport(value = "Member Number", sort = 1) | ||
var memberNumber: String?, | ||
|
||
@ExcelExport(value = "Member", sort = 2) | ||
var memberName: String?, | ||
|
||
@ExcelExport(value = "Phone Number", sort = 3) | ||
var phoneNumber: String?, | ||
|
||
@ExcelExport(value = "Email", sort = 4) | ||
var email: String?, | ||
|
||
@ExcelExport(value = "Advance Payment", sort = 5) | ||
var advancePayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "Status", kv="0-Enable;1-Deactivate", sort = 6) | ||
var status: Int?, | ||
|
||
@ExcelExport(value = "Remark", sort = 7) | ||
var remark: String?, | ||
|
||
var sort: Int?, | ||
|
||
var createTime: LocalDateTime?, | ||
) |
83 changes: 83 additions & 0 deletions
83
core/domain/src/main/kotlin/com/wansenai/bo/SupplierExportBO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/* | ||
* Copyright 2024-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo | ||
|
||
import com.wansenai.NoArg | ||
import com.wansenai.utils.excel.ExcelExport | ||
import lombok.Data | ||
import java.math.BigDecimal | ||
import java.time.LocalDateTime | ||
|
||
@NoArg | ||
@Data | ||
data class SupplierExportBO ( | ||
var id: Long, | ||
|
||
@ExcelExport(value = "供应商名称*", sort = 1) | ||
var supplierName: String, | ||
|
||
@ExcelExport(value = "联系人*", sort = 2) | ||
var contact: String?, | ||
|
||
@ExcelExport(value = "联系电话", sort = 4) | ||
var contactNumber: String?, | ||
|
||
@ExcelExport(value = "手机号码*", sort = 3) | ||
var phoneNumber: String?, | ||
|
||
@ExcelExport(value = "地址", sort = 22) | ||
var address: String?, | ||
|
||
@ExcelExport(value = "电子邮箱", sort = 5) | ||
var email: String?, | ||
|
||
@ExcelExport(value = "状态", kv="0-启用;1-停用", sort = 7) | ||
var status: Int, | ||
|
||
@ExcelExport(value = "一季度付款", sort = 12) | ||
var firstQuarterAccountPayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "二季度付款", sort = 13) | ||
var secondQuarterAccountPayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "三季度付款", sort = 14) | ||
var thirdQuarterAccountPayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "四季度付款", sort = 15) | ||
var fourthQuarterAccountPayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "累计应付账款", sort = 16) | ||
var totalAccountPayment: BigDecimal?, | ||
|
||
@ExcelExport(value = "传真", sort = 6) | ||
var fax: String?, | ||
|
||
@ExcelExport(value = "纳税人识别号", sort = 17) | ||
var taxNumber: String?, | ||
|
||
@ExcelExport(value = "开户行", sort = 19) | ||
var bankName: String?, | ||
|
||
@ExcelExport(value = "账号", sort = 20) | ||
var accountNumber: String?, | ||
|
||
@ExcelExport(value = "税率(%)", sort = 18) | ||
var taxRate: BigDecimal?, | ||
|
||
var sort: Int?, | ||
|
||
@ExcelExport(value = "备注", sort = 23) | ||
var remark: String?, | ||
|
||
var createTime: LocalDateTime?, | ||
) |
Oops, something went wrong.