123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- package com.fuint.common.dto;
- import com.fuint.repository.model.MtStore;
- import com.fuint.repository.model.MtUser;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * 我的卡券DTO
- *
- * Created by FSQ
- * CopyRight https://www.fuint.cn
- */
- public class MyCouponDto implements Serializable {
- /**
- * 自增ID
- * */
- private Integer id;
- /**
- * 卡券名称
- * */
- private String name;
- /**
- * 核销编码
- */
- private String code;
- /**
- * 卡券类型
- * */
- private String type;
- /**
- * 状态
- * */
- private String status;
- /**
- * 券ID
- * */
- private Integer couponId;
- /**
- * 使用规则
- * */
- private String useRule;
- /**
- * 图片
- * */
- private String image;
- /**
- * 面额
- * */
- private BigDecimal amount;
- /**
- * 余额
- * */
- private BigDecimal balance;
- /**
- * 是否可以使用(过期、状态等)
- * */
- private boolean canUse;
- /**
- * 有效期
- * */
- private String effectiveDate;
- /**
- * 小提示
- * */
- private String tips;
- /**
- * 使用时间
- * */
- private Date usedTime;
- /**
- * 领券时间
- * */
- private Date createTime;
- /**
- * 会员信息
- * */
- private MtUser userInfo;
- /**
- * 使用店铺
- * */
- private MtStore storeInfo;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getCode(){
- return code;
- }
- public void setCode(String code){
- this.code=code;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public String getStatus() {
- return status;
- }
- public void setStatus(String status) {
- this.status = status;
- }
- public Integer getCouponId() {
- return couponId;
- }
- public void setCouponId(Integer couponId) {
- this.couponId = couponId;
- }
- public String getUseRule() {
- return useRule;
- }
- public void setUseRule(String useRule) {
- this.useRule = useRule;
- }
- public String getImage() {
- return image;
- }
- public void setImage(String image) {
- this.image = image;
- }
- public BigDecimal getAmount() {
- return amount;
- }
- public void setAmount(BigDecimal amount) {
- this.amount = amount;
- }
- public BigDecimal getBalance() {
- return balance;
- }
- public void setBalance(BigDecimal balance) {
- this.balance = balance;
- }
- public boolean getCanUse() {
- return canUse;
- }
- public void setCanUse(boolean canUse) {
- this.canUse = canUse;
- }
- public String getEffectiveDate() {
- return effectiveDate;
- }
- public void setEffectiveDate(String effectiveDate) {
- this.effectiveDate = effectiveDate;
- }
- public String getTips() {
- return tips;
- }
- public void setTips(String tips) {
- this.tips = tips;
- }
- public Date getUsedTime(){
- return usedTime;
- }
- public void setUsedTime(Date usedTime){
- this.usedTime=usedTime;
- }
- public Date getCreateTime(){
- return createTime;
- }
- public void setCreateTime(Date createTime){
- this.createTime=createTime;
- }
- public MtUser getUserInfo() {
- return userInfo;
- }
- public void setUserInfo(MtUser userInfo) {
- this.userInfo = userInfo;
- }
- public MtStore getStoreInfo() {
- return storeInfo;
- }
- public void setStoreInfo(MtStore storeInfo) {
- this.storeInfo = storeInfo;
- }
- }
|