package com.gear.finance.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.gear.common.annotation.Excel; import lombok.Data; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableId; import com.gear.common.core.domain.BusiBaseEntity; /** * 券管理对象 finance_coupon * * @author czx * @date 2023-11-16 */ @Data @TableName("finance_coupon") public class FinanceCoupon extends BusiBaseEntity { private static final long serialVersionUID=1L; /** $column.columnComment */ @TableId(type = IdType.ASSIGN_ID) private String id; /** 券名 */ @Excel(name = "券名") private String name; /** 券类型 */ @Excel(name = "券类型") private Integer type; /** 状态 */ @Excel(name = "状态") private Integer status; /** 总数量 */ @Excel(name = "总数量") private Integer allCount; /** 已领取数量 */ @Excel(name = "已领取数量") private Integer receiveCount; /** 领取条件类型 */ @Excel(name = "领取条件类型") private Integer coditionType; /** 领取条件 */ @Excel(name = "领取条件") private BigDecimal condition; /** 使用条件类型 */ @Excel(name = "使用条件类型") private Integer useCoditionType; /** 使用条件 */ @Excel(name = "使用条件") private String useCodition; /** 限领数量 */ @Excel(name = "限领数量") private Integer limitCount; /** 券额 */ @Excel(name = "券额") private BigDecimal limitAmount; /** 截止日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "截止日期" , width = 30, dateFormat = "yyyy-MM-dd") private Date endTime; /** 有效时间 */ @Excel(name = "有效时间") private Integer expirationNum; /** 描述 */ @Excel(name = "描述") private String description; /** $column.columnComment */ @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()") private Date cerateTime; }