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 com.stylefeng.guns.modular.system.response.UserRequest; import lombok.Data; import java.util.Date; import java.util.List; /** * 商家活动 */ @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=分公司,3=加盟商 @TableField("companyType") private Integer companyType; //公司id @TableField("companyId") private Integer companyId; //活动类型(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=审核通过,3=审核拒绝) @TableField("auditStatus") private Integer auditStatus; //审核备注 @TableField("auditNote") private String auditNote; //审核用户id @TableField("auditUserId") private Integer auditUserId; //审核时间 @TableField("auditTime") private Date auditTime; //状态(1=进行中,2=已结束) @TableField("status") private Integer status; //状态(1=正常,2=冻结,3=删除) @TableField("state") private Integer state; //添加时间 @TableField("createTime") private Date createTime; @TableField(exist = false) private String merchantIds; @TableField(exist = false) private List merchantActivitySlaveList; @TableField(exist = false) private List userList; }