package com.ruoyi.oa.domain.bo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class OaPaymentProgressBo extends BaseEntity {

    /**
     * 付款进度ID
     */
    private Long paymentProgressId;

    /**
     * 关联项目ID，引用 oa_project.project_id
     */
    private Long projectId;

    /**
     * 付款开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 付款结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 付款金额
     */
    private BigDecimal amount;

    /**
     * 是否作废：0正常；1作废
     */
    private Integer isVoid;

    /**
     * 备注
     */
    private String remark;




    /**
     * 完成标志
     */
    private Long complete;

    private String projectName;

    private String projectCode;

    private String projectNum;


}
