package com.kiisoo.ic.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 */
@Data
@TableName ("pmn_activity_instance")
@ToString
public class PmnActivityInstance {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "活动实例ID,有就编辑无则新增")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "内容")
    private String content;

    private String categoryCode;

    @ApiModelProperty(value = "活动规划id")
    private Long scheduleId;

    @ApiModelProperty(value = "是否要独立码:  1、默认 2、额外码")
    private Long isAddition;

    @ApiModelProperty(value = "推广码")
    private String code;

    @ApiModelProperty(value = "状态:  1、未开始 2、进行中 3、已结束 4、已取消")
    private Long status;

    private Date beginTime;

    private Date endTime;

    private Date createTime;

    private Date updateTime;

}
