package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.enums.IdType; import java.math.BigDecimal; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** *

* 系统设置-红包记录 *

* * @author stylefeng * @since 2020-06-13 */ @TableName("t_sys_red_packet_record") public class SysRedPacketRecord extends Model { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 金额 */ private BigDecimal money; /** * 添加时间 */ private Date insertTime; /** * 公司id */ private Integer companyId; /** * 红包名称 */ private String name; /** * 类型(1=固定金额,2=随机金额) */ private Integer type; /** * 总金额 */ private BigDecimal totalMoney; /** * 剩余金额 */ private Double laveMoney; /** * 开始金额 */ private BigDecimal startMoney; /** * 结束金额 */ private BigDecimal endMoney; /** * 有效天数 */ private Integer effective; /** * 1=平台 2=分公司 3=加盟商 */ private Integer companyType; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public BigDecimal getMoney() { return money; } public void setMoney(BigDecimal money) { this.money = money; } 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 String getName() { return name; } public void setName(String name) { this.name = name; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public BigDecimal getTotalMoney() { return totalMoney; } public void setTotalMoney(BigDecimal totalMoney) { this.totalMoney = totalMoney; } public Double getLaveMoney() { return laveMoney; } public void setLaveMoney(Double laveMoney) { this.laveMoney = laveMoney; } public BigDecimal getStartMoney() { return startMoney; } public void setStartMoney(BigDecimal startMoney) { this.startMoney = startMoney; } public BigDecimal getEndMoney() { return endMoney; } public void setEndMoney(BigDecimal endMoney) { this.endMoney = endMoney; } public Integer getEffective() { return effective; } public void setEffective(Integer effective) { this.effective = effective; } public Integer getCompanyType() { return companyType; } public void setCompanyType(Integer companyType) { this.companyType = companyType; } @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "SysRedPacketRecord{" + "id=" + id + ", money=" + money + ", insertTime=" + insertTime + ", companyId=" + companyId + ", name=" + name + ", type=" + type + ", totalMoney=" + totalMoney + ", laveMoney=" + laveMoney + ", startMoney=" + startMoney + ", endMoney=" + endMoney + ", effective=" + effective + ", companyType=" + companyType + "}"; } }