package com.hzy.project.business.income.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hzy.framework.aspectj.lang.annotation.Excel;
import com.hzy.framework.web.domain.BaseEntity;

/**
 * 收入对象 t_income
 * 
 * @author ruoyi
 * @date 2026-01-04
 */
@Data
public class Income extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long incomeId;

    /** 客户 */
    @Excel(name = "客户")
    private Long customerId;

    /** 客户 */
    @Excel(name = "用户")
    private Long userId;

    /** 收入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "收入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incomeDate;

    /** 收入类目 */
    @Excel(name = "收入类目", readConverterExp = "customer=客户支付,other=其他")
    private String incomeType;

    /** 收入总金额 */
    @Excel(name = "收入总金额")
    private BigDecimal grossAmount;

    /** 净收入 */
    @Excel(name = "净收入")
    private BigDecimal netAmount;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal taxAmount;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal rate;

    /** 删除标志 */
    private String delFlag;

}
