yinbentan
2024-08-30 cc7c2094568ea8f9d1697da5ed0a2c759ca81abd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package response
 
import "github.com/shopspring/decimal"
 
type SalaryReportForms struct {
    WorkerName  string          `json:"workerName"`
    WorkerId    string          `json:"workerId"`
    Phone       string          `json:"phone"`
    WorkType    string          `json:"workType"`    //工种
    IssueSalary decimal.Decimal `json:"issueSalary"` //应发工资
    Remark      string          `json:"remark"`      //备注
    Details     []SalaryDetail  `json:"details"`
}
 
type SalaryDetail struct {
    SalaryTypeId uint            `json:"salaryTypeId"` //薪资类型id
    SalaryType   string          `json:"salaryType"`   //薪资类型
    Amount       decimal.Decimal `json:"amount"`       //工资值
}