yaozc
2023-07-07 c752e33fe402e2179e7e6795f567d41c044ca3c6
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/Salary.java
@@ -52,7 +52,7 @@
    @Column(name = "`salary_year_month`",nullable = false)
    @NotBlank
    @ApiModelProperty(value = "工资年月")
    private String salaryYearMonth;
    private Timestamp salaryYearMonth;
    @Column(name = "`level_wage`",nullable = false)
    @NotNull
@@ -163,6 +163,11 @@
    @NotNull
    @ApiModelProperty(value = "实际团队工资")
    private BigDecimal actualTeamWage;
    @Column(name = "`piece_rate`",nullable = false)
    @NotNull
    @ApiModelProperty(value = "计件工资")
    private BigDecimal pieceRate;
    @Column(name = "`accumulation_radix`",nullable = false)
    @NotNull
@@ -333,6 +338,16 @@
    @ApiModelProperty(value = "备注")
    private String remarks;
    @Column(name = "`publicity_status`",nullable = false)
    @NotNull
    @ApiModelProperty(value = "公示状态")
    private String publicityStatus;
    @Column(name = "`approve_status`",nullable = false)
    @NotNull
    @ApiModelProperty(value = "承认状态")
    private String approveStatus;
    public void copy(Salary source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }