package com.sifang.modules.sunshine.SystemSetting.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "crm_site_asset_frozen_record")
public class CrmSiteAssetFrozenRecord implements Serializable {

	private static final long serialVersionUID = 1L;
	private String id;
	private String siteId;
	private BigDecimal amount;
	private BigDecimal sitePrice;
	private String applyFittingId ;
	private String status ;
	private String fittingId;
	private String updateBy;
	private Date updateTime;
	private Date createTime;


	public CrmSiteAssetFrozenRecord() {
		super();
		this.status="0";
		this.amount = new BigDecimal("0.00");
		this.sitePrice = new BigDecimal("0.00");
		this.createTime = new Date();
	}

	public BigDecimal getSitePrice() {
		return sitePrice;
	}

	public void setSitePrice(BigDecimal sitePrice) {
		this.sitePrice = sitePrice;
	}

	@Id
	@GeneratedValue(generator = "idGenerator")
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}


	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public String getApplyFittingId() {
		return applyFittingId;
	}

	public void setApplyFittingId(String applyFittingId) {
		this.applyFittingId = applyFittingId;
	}

	public String getFittingId() {
		return fittingId;
	}

	public void setFittingId(String fittingId) {
		this.fittingId = fittingId;
	}
}
