package thyyxxk.webserver.entity.outpatient.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_zd_coupons")
public class ZdCoupon {
    @TableId(type = IdType.INPUT)
    private String id;
    private String name;
    private Integer value;
    private Integer totalQuantity;
    private Integer leftQuantity;
    private Integer effectiveDays;
    private Date createTime;
    private String createStaff;
    private CouponState state;
    private CouponType type;
    private CouponGainWay gainWay;
    private Integer price;
    private String description;
    private String availableCharge;
    private String availableChargeName;
    @TableField(exist = false)
    private String staffName;
}
