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 lombok.Data; import java.util.Date; /** * 商家活动 * @author pzb * @Date 2022/2/8 14:30 */ @Data @TableName("t_merchant_activity") public class MerchantActivity { //主键 @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; //商家id @TableField("merchantId") private Integer merchantId; //获取类型(1=一般活动,2=赠送活动) @TableField("activityType") private Integer activityType; //活动名称 @TableField("name") private String name; //订单类型(1,2,3) @TableField("orderType") private String orderType; //券类型(1=优惠券。2=商品券) @TableField("type") private Integer type; //订单金额满 @TableField("orderAmountFull") private Double orderAmountFull; //订单完成数量 @TableField("orderNumber") private Integer orderNumber; //有效天数 @TableField("effectiveDays") private Integer effectiveDays; //状态(1=进行中,2=已结束) @TableField("status") private Integer status; //状态(1=正常,2=冻结,3=删除) @TableField("state") private Integer state; //添加时间 @TableField("createTime") private Date createTime; }