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 lombok.Data;

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

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

import java.math.BigDecimal;

/**
 * 机构小组专辑配置表
 * 2024-01-24 13:32:00
 */
@Data
@ApiModel(" TenantGroupAlbum-机构小组专辑配置表")
@TableName("tenant_group_album")
public class TenantGroupAlbum implements Serializable {

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

    @ApiModelProperty("机构小组ID") 
	@TableField(value = "tenant_group_id_")
    private Long tenantGroupId;

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

    @ApiModelProperty("状态") 
	@TableField(value = "status_")
    private Boolean status;

    @ApiModelProperty("采购数量") 
	@TableField(value = "purchase_num_")
    private Integer purchaseNum;

    @ApiModelProperty("采购周期") 
	@TableField(value = "purchase_period_")
    private String purchasePeriod;

    @ApiModelProperty("原价") 
	@TableField(value = "original_price_")
    private BigDecimal originalPrice;

    @ApiModelProperty("售价") 
	@TableField(value = "actual_price_")
    private BigDecimal actualPrice;

    @ApiModelProperty("购买次数限制") 
	@TableField(value = "buy_times_flag_")
    private Boolean buyTimesFlag;

    @ApiModelProperty("购买次数") 
	@TableField(value = "buy_times_")
    private Integer buyTimes;

    @ApiModelProperty("是否删除") 
	@TableField(value = "del_flag_")
    private Boolean delFlag;

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

    @ApiModelProperty("创建人") 
	@TableField(value = "create_by_")
    private Long createBy;

    @ApiModelProperty("更新人") 
	@TableField(value = "update_by_")
    private Long updateBy;

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

}