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;

/**
 * 机构专辑采购
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" TenantAlbumPurchase-机构专辑采购")
@TableName("tenant_album_purchase")
public class TenantAlbumPurchase 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("订单号")
    @TableField(value = "order_no_")
    private String orderNo;

    @ApiModelProperty("采购时间") 
	@TableField(value = "purchase_time_")
    private Date purchaseTime;

    @ApiModelProperty("购买数量") 
	@TableField(value = "purchase_quantity_")
    private Integer purchaseQuantity;

    @ApiModelProperty("采购周期") 
	@TableField(value = "purchase_cycle_")
    private Integer purchaseCycle;

    @ApiModelProperty("激活数量") 
	@TableField(value = "active_quantity_")
    private Integer activeQuantity;

    @ApiModelProperty("采购价格") 
	@TableField(value = "purchase_price_")
    private BigDecimal purchasePrice;

    @ApiModelProperty("采购状态") 
	@TableField(value = "purchase_status_")
    private String purchaseStatus;

    @ApiModelProperty("激活状态：NONE:未激活，PART：部分，ALL：全部")
	@TableField(value = "active_status_")
    private String activeStatus;

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

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


    @ApiModelProperty("采购周期类型")
    @TableField(value = "purchase_type_")
    private String purchaseType;

}