package com.ruoyi.system.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.core.domain.BaseEntity; /** * 任务附加费用对象 sys_task_additional_fee * * @author ruoyi * @date 2025-01-15 */ public class SysTaskAdditionalFee extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键ID */ private Long id; /** 任务ID */ private Long taskId; /** 费用类型(字典task_additional_fee_type) */ private String feeType; /** 费用名称 */ private String feeName; /** 单价 */ private BigDecimal unitAmount; /** 数量 */ private Integer quantity; /** 总金额 */ private BigDecimal totalAmount; /** 创建者 */ private String createdBy; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createdTime; /** 旧系统附加费用记录ID(PaidMoney_Add.id) */ private Long pid; /** 同步状态:0未同步,1同步中,2同步成功,3同步失败 */ private Integer syncStatus; /** 同步时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date syncTime; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getTaskId() { return taskId; } public void setTaskId(Long taskId) { this.taskId = taskId; } public String getFeeType() { return feeType; } public void setFeeType(String feeType) { this.feeType = feeType; } public String getFeeName() { return feeName; } public void setFeeName(String feeName) { this.feeName = feeName; } public BigDecimal getUnitAmount() { return unitAmount; } public void setUnitAmount(BigDecimal unitAmount) { this.unitAmount = unitAmount; } public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } public BigDecimal getTotalAmount() { return totalAmount; } public void setTotalAmount(BigDecimal totalAmount) { this.totalAmount = totalAmount; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public Date getCreatedTime() { return createdTime; } public void setCreatedTime(Date createdTime) { this.createdTime = createdTime; } public Long getPid() { return pid; } public void setPid(Long pid) { this.pid = pid; } public Integer getSyncStatus() { return syncStatus; } public void setSyncStatus(Integer syncStatus) { this.syncStatus = syncStatus; } public Date getSyncTime() { return syncTime; } public void setSyncTime(Date syncTime) { this.syncTime = syncTime; } @Override public String toString() { return "SysTaskAdditionalFee{" + "id=" + id + ", taskId=" + taskId + ", feeType='" + feeType + '\'' + ", feeName='" + feeName + '\'' + ", unitAmount=" + unitAmount + ", quantity=" + quantity + ", totalAmount=" + totalAmount + ", createdBy='" + createdBy + '\'' + ", createdTime=" + createdTime + ", pid=" + pid + ", syncStatus=" + syncStatus + ", syncTime=" + syncTime + '}'; } }