package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.yonge.cooleshow.common.enums.EActivationCode;
import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 机构激活码
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" TenantActivationCode-机构激活码")
@TableName("tenant_activation_code")
public class TenantActivationCode implements Serializable {

    @ApiModelProperty("主键ID") 

    @TableId(value = "id_", type = IdType.AUTO)
	    private Long id;

    @ApiModelProperty("机构ID") 
	@TableField(value = "tenant_id_")
    private Long tenantId;

    @ApiModelProperty("机构专辑ID") 
	@TableField(value = "tenant_album_id_")
    private Long tenantAlbumId;

    @ApiModelProperty("机构专辑采购ID") 
	@TableField(value = "tenant_album_purchase_id_")
    private Long tenantAlbumPurchaseId;

    @ApiModelProperty("激活码") 
	@TableField(value = "activation_code_")
    private String activationCode;

    @ApiModelProperty("发送状态(WAIT,SEND)") 
	@TableField(value = "send_status_")
    private EActivationCode sendStatus;

    @ApiModelProperty("激活状态") 
	@TableField(value = "activation_status_")
    private Boolean activationStatus;

    @ApiModelProperty("激活手机号") 
	@TableField(value = "activation_phone_")
    private String activationPhone;

    @ApiModelProperty("激活时间") 
	@TableField(value = "activation_time_")
    private Date activationTime;

    @ApiModelProperty("激活用户ID") 
	@TableField(value = "activation_user_id_")
    private Long activationUserId;

    @ApiModelProperty("更新时间") 
	@TableField(value = "update_time_")
    private Date updateTime;

    @ApiModelProperty("创建时间") 
	@TableField(value = "create_time_")
    private Date createTime;

    @ApiModelProperty("发放时间")
	@TableField(value = "send_time_")
    private Date sendTime;

}