package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; /** * 用户优惠券记录 */ @TableName("t_user_coupon_record") public class UserCouponRecord { /** * 主键 */ @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; /** * 金额 */ @TableField("money") private Double money; /** * 满减的满金额 */ @TableField("fullMoney") private Double fullMoney; /** * 过期时间 */ @TableField("expirationTime") private Date expirationTime; /** * 添加时间 */ @TableField("insertTime") private Date insertTime; /** * 企业id */ @TableField("companyId") private Integer companyId; /** * 状态(1=未使用,2=已使用,3=已过期) */ @TableField("state") private Integer state; /** * 优惠券使用类型(0=通用,1=专车,2=出租车,3=城际,4=小件物流) */ @TableField("couponUseType") private Integer couponUseType; /** * 优惠券类型(1=抵扣券,2=满减券) */ @TableField("couponType") private Integer couponType; /** * 用户id */ @TableField("userId") private Integer userId; /** * 优惠券id * @return */ @TableField("couponId") private Integer couponId; /** * 活动id * @return */ @TableField("couponActivityId") private Integer couponActivityId; /** * 活动类型(1=赠送活动,2=注册,3=邀请,4=充值) * @return */ @TableField("activityType") private Integer activityType; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getMoney() { return money; } public void setMoney(Double money) { this.money = money; } public Double getFullMoney() { return fullMoney; } public void setFullMoney(Double fullMoney) { this.fullMoney = fullMoney; } public Date getExpirationTime() { return expirationTime; } public void setExpirationTime(Date expirationTime) { this.expirationTime = expirationTime; } public Date getInsertTime() { return insertTime; } public void setInsertTime(Date insertTime) { this.insertTime = insertTime; } public Integer getCompanyId() { return companyId; } public void setCompanyId(Integer companyId) { this.companyId = companyId; } public Integer getState() { return state; } public void setState(Integer state) { this.state = state; } public Integer getCouponUseType() { return couponUseType; } public void setCouponUseType(Integer couponUseType) { this.couponUseType = couponUseType; } public Integer getCouponType() { return couponType; } public void setCouponType(Integer couponType) { this.couponType = couponType; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getCouponId() { return couponId; } public void setCouponId(Integer couponId) { this.couponId = couponId; } public Integer getCouponActivityId() { return couponActivityId; } public void setCouponActivityId(Integer couponActivityId) { this.couponActivityId = couponActivityId; } public Integer getActivityType() { return activityType; } public void setActivityType(Integer activityType) { this.activityType = activityType; } @Override public String toString() { return "UserCouponRecord{" + "id=" + id + ", money=" + money + ", fullMoney=" + fullMoney + ", expirationTime=" + expirationTime + ", insertTime=" + insertTime + ", companyId=" + companyId + ", state=" + state + ", couponUseType=" + couponUseType + ", couponType=" + couponType + ", userId=" + userId + ", couponId=" + couponId + ", couponActivityId=" + couponActivityId + ", activityType=" + activityType + '}'; } }