gongchunyi
昨天 000205578dc02b9d9ac0e2e5dee740142f4cff80
src/main/java/com/ruoyi/account/pojo/AccountExpense.java
@@ -6,6 +6,7 @@
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotBlank;
@@ -20,6 +21,7 @@
 */
@TableName(value = "account_expense")
@Data
@EqualsAndHashCode(callSuper = true)
public class AccountExpense extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -30,6 +32,16 @@
    private Long id;
    /**
     * 业务id
     */
    private Long businessId;
    /**
     * 业务类型 1-付款 2-还款 3-薪资发放
     */
    private Integer businessType;
    /**
     * 支出日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
@@ -38,9 +50,9 @@
    private Date expenseDate;
    /**
     * 支出类型(办公用品,员工工资,差旅费,设备费用,其他)
     * 支出类型(办公用品,员工工资,差旅费,设备费用,来票付款,其他)
     */
    @Excel(name = "支出类型",readConverterExp = "0=办公用品,1=员工工资,2=差旅费,3=设备费用,4=其他")
    @Excel(name = "支出类型",readConverterExp = "0=办公用品,1=员工工资,2=差旅费,3=设备费用,4=来票付款,5=其他")
    @NotBlank(message = "支出类型不能为空!!")
    private String expenseType;