Files
ruoyi-java/ruoyi-system/src/main/java/com/ruoyi/jarvis/domain/GiftCoupon.java
2025-10-31 12:55:17 +08:00

68 lines
1.7 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.ruoyi.jarvis.domain;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 礼金信息对象 gift_coupon
*
* @author ruoyi
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class GiftCoupon extends BaseEntity {
/** 礼金Key主键 */
@Excel(name = "礼金Key")
private String giftCouponKey;
/** 商品SKU ID */
@Excel(name = "商品SKU")
private String skuId;
/** 商品名称 */
@Excel(name = "商品名称")
private String skuName;
/** 礼金类型g=自营pop=POP */
@Excel(name = "类型", readConverterExp = "g=自营,pop=POP")
private String owner;
/** 礼金金额(元) */
@Excel(name = "礼金金额")
private Double amount;
/** 礼金数量 */
@Excel(name = "礼金数量")
private Integer quantity;
/** 已使用数量 */
@Excel(name = "已使用数量")
private Integer usedQuantity;
/** 总分摊金额 */
@Excel(name = "总分摊金额")
private Double totalOcsAmount;
/** 使用次数(订单数量) */
@Excel(name = "使用次数")
private Integer useCount;
/** 创建时间(首次创建时间) */
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/** 过期时间 */
@Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date expireTime;
/** 是否过期0否 1是 */
@Excel(name = "是否过期", readConverterExp = "0=否,1=是")
private Integer isExpired;
}