diff --git a/src/main/java/cn/lihongjie/coal/employee/dto/CreateEmployeeDto.java b/src/main/java/cn/lihongjie/coal/employee/dto/CreateEmployeeDto.java index df2ca85a..d2c72f6b 100644 --- a/src/main/java/cn/lihongjie/coal/employee/dto/CreateEmployeeDto.java +++ b/src/main/java/cn/lihongjie/coal/employee/dto/CreateEmployeeDto.java @@ -75,4 +75,41 @@ public class CreateEmployeeDto extends OrgCommonDto { @ElementCollection @Comment("员工证件信息") private List certs; + + @Comment("养老保险基数") + private Double insurance1Base; + @Comment("养老保险比例") + private Double insurance1Percent; + + + @Comment("医疗保险基数") + private Double insurance2Base; + @Comment("医疗保险比例") + private Double insurance2Percent; + + + + @Comment("失业保险基数") + private Double insurance3Base; + @Comment("失业保险比例") + private Double insurance3Percent; + + + + @Comment("工伤保险基数") + private Double insurance4Base; + @Comment("工伤保险比例") + private Double insurance4Percent; + + + + @Comment("生育保险基数") + private Double insurance5Base; + @Comment("生育保险比例") + private Double insurance5Percent; + + @Comment("住房公积金基数") + private Double insurance6Base; + @Comment("住房公积金比例") + private Double insurance6Percent; } diff --git a/src/main/java/cn/lihongjie/coal/employee/dto/EmployeeDto.java b/src/main/java/cn/lihongjie/coal/employee/dto/EmployeeDto.java index c0f98c45..17824439 100644 --- a/src/main/java/cn/lihongjie/coal/employee/dto/EmployeeDto.java +++ b/src/main/java/cn/lihongjie/coal/employee/dto/EmployeeDto.java @@ -114,4 +114,42 @@ public class EmployeeDto extends OrgCommonDto { @ElementCollection @Comment("员工证件信息") private List certs; + + + @Comment("养老保险基数") + private Double insurance1Base; + @Comment("养老保险比例") + private Double insurance1Percent; + + + @Comment("医疗保险基数") + private Double insurance2Base; + @Comment("医疗保险比例") + private Double insurance2Percent; + + + + @Comment("失业保险基数") + private Double insurance3Base; + @Comment("失业保险比例") + private Double insurance3Percent; + + + + @Comment("工伤保险基数") + private Double insurance4Base; + @Comment("工伤保险比例") + private Double insurance4Percent; + + + + @Comment("生育保险基数") + private Double insurance5Base; + @Comment("生育保险比例") + private Double insurance5Percent; + + @Comment("住房公积金基数") + private Double insurance6Base; + @Comment("住房公积金比例") + private Double insurance6Percent; } diff --git a/src/main/java/cn/lihongjie/coal/employee/dto/UpdateEmployeeDto.java b/src/main/java/cn/lihongjie/coal/employee/dto/UpdateEmployeeDto.java index bf0b9e1a..3036e60f 100644 --- a/src/main/java/cn/lihongjie/coal/employee/dto/UpdateEmployeeDto.java +++ b/src/main/java/cn/lihongjie/coal/employee/dto/UpdateEmployeeDto.java @@ -76,4 +76,42 @@ public class UpdateEmployeeDto extends OrgCommonDto { @ElementCollection @Comment("员工证件信息") private List certs; + + @Comment("养老保险基数") + private Double insurance1Base; + @Comment("养老保险比例") + private Double insurance1Percent; + + + @Comment("医疗保险基数") + private Double insurance2Base; + @Comment("医疗保险比例") + private Double insurance2Percent; + + + + @Comment("失业保险基数") + private Double insurance3Base; + @Comment("失业保险比例") + private Double insurance3Percent; + + + + @Comment("工伤保险基数") + private Double insurance4Base; + @Comment("工伤保险比例") + private Double insurance4Percent; + + + + @Comment("生育保险基数") + private Double insurance5Base; + @Comment("生育保险比例") + private Double insurance5Percent; + + @Comment("住房公积金基数") + private Double insurance6Base; + @Comment("住房公积金比例") + private Double insurance6Percent; + } diff --git a/src/main/java/cn/lihongjie/coal/employee/entity/EmployeeEntity.java b/src/main/java/cn/lihongjie/coal/employee/entity/EmployeeEntity.java index 3d2051f0..50d2b348 100644 --- a/src/main/java/cn/lihongjie/coal/employee/entity/EmployeeEntity.java +++ b/src/main/java/cn/lihongjie/coal/employee/entity/EmployeeEntity.java @@ -150,4 +150,52 @@ public class EmployeeEntity extends OrgCommonEntity { @ElementCollection @Comment("员工证件信息") private List certs; + + /** + * “五险”讲的是五种保险,包括养老保险、医疗保险、失业保险、工伤保险和生育保险。 + * + *

“一金”指的是住房公积金。 + * + *

其中养老保险、医疗保险和失业保险,这三种险是由企业和个人共同缴纳的保费,工伤保险和生育保险完全是由企业承担的。个人不需要缴纳。这里要注意的是“五险”是法定的,而“一金”不是法定的。 + */ + @Comment("养老保险基数") + private Double insurance1Base; + @Comment("养老保险比例") + private Double insurance1Percent; + + + @Comment("医疗保险基数") + private Double insurance2Base; + @Comment("医疗保险比例") + private Double insurance2Percent; + + + + @Comment("失业保险基数") + private Double insurance3Base; + @Comment("失业保险比例") + private Double insurance3Percent; + + + + @Comment("工伤保险基数") + private Double insurance4Base; + @Comment("工伤保险比例") + private Double insurance4Percent; + + + + @Comment("生育保险基数") + private Double insurance5Base; + @Comment("生育保险比例") + private Double insurance5Percent; + + @Comment("住房公积金基数") + private Double insurance6Base; + @Comment("住房公积金比例") + private Double insurance6Percent; + + + + }