package com.chushang.inspection.project.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
  * @auther: zhao
  * @date: 2024/6/15 10:51
  */
/**
 * 项目回款记录表
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wrk_project_payment")
public class WrkProjectPayment extends BaseEntity {
    /**
     * 回款id
     */
    @TableId(value = "payment_id")
    private Long paymentId;

    /**
     * 项目id
     */
    @TableField(value = "project_id")
    private Long projectId;

    /**
     * 回款合同id
     */
    @TableField(value = "contract_id")
    private Long contractId;

    /**
     * 项目名称
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 所属部门id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 回款金额
     */
    @TableField(value = "payment_amount")
    private BigDecimal paymentAmount;

    /**
     * 回款证明
     */
    @TableField(value = "payment_receipt")
    private String paymentReceipt;

    /**
     * 回款日期
     */
    @TableField(value = "payment_date")
    private String paymentDate;

    /**
     * 回款月份
     */
    @TableField(value = "payment_month")
    private String paymentMonth;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(exist = false)
    private String projectPhone;

    @TableField(exist = false)
    private String projectConcat;
}
