package com.jwipc.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2024-04-01
 */
@Getter
@Setter
@TableName("t_contract_pay_type")
public class ContractPayType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 报销类别
     */
    private Integer type;

    /**
     * 业务描述
     */
    private String bz;

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

    /**
     * 使用人
     */
    private String user;

    /**
     * 项目编码
     */
    private String code;

    /**
     * 服务客户编码
     */
    private String serviceUserCode;

    /**
     * 服务客户
     */
    private String serviceUser;

    /**
     * 驱动因素
     */
    private String driveBz;

    /**
     * 固定资产编码
     */
    private String assetCode;

    private Long payId;

    /**
     * 删除标记；0-未删除；1-已删除
     */
    private Integer deleteFlag;

    @TableField(exist = false)
    private BigDecimal num;
    @TableField(exist = false)
    private BigDecimal price;
    @TableField(exist = false)
    private String materialSpec;

    private String costCenterName;

    private String costCenterCode;
}
