Files
GEAR-OA/gear-oa/src/main/java/com/gear/oa/domain/GearOtherIncome.java
Joshi f278056c80 feat(oa): 添加收入支出类型字段并优化Excel导出显示
- 在GearOtherIncome实体类中新增type字段用于区分收入或支出
- 更新GearOtherIncomeBo业务对象,同步添加type字段- 修改GearOtherIncomeMapper.xml,增加type字段的映射配置- 在GearOtherIncomeServiceImpl中添加type字段的查询条件支持
- 优化GearOtherIncomeVo视图对象中Excel导出的列名显示
- 简化Excel表头名称,提升可读性:其他收入ID→ID、收入日期→日期等
- 在Excel导出配置中保留主键标识的转换表达式
- 统一金额相关字段在Excel中的展示格式
-为新添加的type字段在VO层添加注释说明用途
2025-09-24 10:47:19 +08:00

63 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.gear.oa.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gear.common.core.domain.BaseEntity;
/**
* 其他收入对象 gear_other_income
*
* @author Joshi
* @date 2025-09-02
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("gear_other_income")
public class GearOtherIncome extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 其他收入ID主键
*/
@TableId(value = "other_income_id")
private Long otherIncomeId;
/**
* 收入日期
*/
private Date incomeDate;
/**
* 收入类型
*/
private String incomeType;
/**
* 收入金额
*/
private BigDecimal amount;
/**
* 收入来源
*/
private String source;
/**
* 备注
*/
private String remark;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
// 收入还是支出
private Integer type;
}