| | |
| | | */ |
| | | package me.zhengjie.modules.project.domain; |
| | | |
| | | import lombok.Data; |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | import me.zhengjie.base.BaseEntity; |
| | | |
| | | import javax.persistence.*; |
| | | import javax.validation.constraints.*; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.GeneratedValue; |
| | | import javax.persistence.GenerationType; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.JoinColumn; |
| | | import javax.persistence.ManyToOne; |
| | | import javax.persistence.Table; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import me.zhengjie.base.BaseEntity; |
| | | |
| | | /** |
| | | * @website https://eladmin.vip |
| | |
| | | @ApiModelProperty(value = "总消耗工作量") |
| | | private Double workTotalCost; |
| | | |
| | | @Column(name = "`money_total_init`") |
| | | @ApiModelProperty(value = "计划总成本") |
| | | private BigDecimal moneyTotalInit; |
| | | |
| | | @Column(name = "`money_total_cost`") |
| | | @ApiModelProperty(value = "总消耗成本") |
| | | private BigDecimal moneyTotalCost; |
| | | |
| | | public void copy(ProjectProgress source) { |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |