package com.bocloud.ims.entity.resource.azure.price;

import com.bocloud.entity.annotations.Column;
import com.bocloud.entity.annotations.IgnoreAll;
import com.bocloud.entity.annotations.PK;
import com.bocloud.entity.annotations.Table;
import com.bocloud.entity.meta.PKStrategy;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @Company: 博云 www.bocloud.com
 * @ClassName: AzureResourcePrice
 * @Description:
 * @author: zhenpingLi/李振平
 * @date: 2021/2/7 9:33
 */
@Getter
@Setter
@Table("azure_resource_price")
public class AzureResourcePrice {

    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("name")
    private String name;//型号
    @Column("unit_price")
    private BigDecimal unitPrice;//单价
    @Column("resource_size")
    private Integer resourceSize;//资源大小
    @Column("region_id")
    private String regionId;//地区
    @Column("resource_type")
    private String resourceType; //资源分类
    @Column("product_type")
    private String productType; //产品分类
    @Column("period")
    private String period;//计费周期
    @IgnoreAll
    private String regionName;


}