All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ligoj.app.plugin.prov.model.ProvContainerPrice Maven / Gradle / Ivy

The newest version!
/*
 * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
 */
package org.ligoj.app.plugin.prov.model;

import jakarta.persistence.Entity;
import jakarta.persistence.Index;
import jakarta.persistence.Table;
import jakarta.persistence.UniqueConstraint;

import lombok.Getter;
import lombok.Setter;

/**
 * A priced container with billing configuration. 
* The cost attribute is the corresponding effective monthly cost of this container. Includes the initial cost to allow * quick sort. To compute the remaining monthly cost reduced by the initial cost, the formula is : * cost - initialCost / 24 / 365. */ @Getter @Setter @Entity @Table(name = "LIGOJ_PROV_CONTAINER_PRICE", uniqueConstraints = { @UniqueConstraint(columnNames = "code") }, indexes = { @Index(name = "lookup_c_index", columnList = "location,type,term,os,increment_cpu,license") }) public class ProvContainerPrice extends AbstractTermPriceVmOs { /** * SID */ private static final long serialVersionUID = 1L; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy