package com.sifang.modules.account.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "crm_trader_support_settle_details")
public class CrmTraderSupportSettleDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String number;

    private String type;

    private String relateOrderNumber;
    private String relateOrderId;


    private BigDecimal amount;

    private String traderId;

    private String takeAmountUnit;

    private String takeAmountAccount;

    private BigDecimal rate;

    private Date createTime;

    private String createBy;

    private String status;


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

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

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRelateOrderNumber() {
        return relateOrderNumber;
    }

    public void setRelateOrderNumber(String relateOrderNumber) {
        this.relateOrderNumber = relateOrderNumber;
    }

    public BigDecimal getAmount() {
        return amount;
    }

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

    public String getTraderId() {
        return traderId;
    }

    public void setTraderId(String traderId) {
        this.traderId = traderId;
    }

    public String getTakeAmountUnit() {
        return takeAmountUnit;
    }

    public void setTakeAmountUnit(String takeAmountUnit) {
        this.takeAmountUnit = takeAmountUnit;
    }

    public String getTakeAmountAccount() {
        return takeAmountAccount;
    }

    public void setTakeAmountAccount(String takeAmountAccount) {
        this.takeAmountAccount = takeAmountAccount;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public Date getCreateTime() {
        return createTime;
    }

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

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getStatus() {
        return status;
    }

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

    public String getRelateOrderId() {
        return relateOrderId;
    }

    public void setRelateOrderId(String relateOrderId) {
        this.relateOrderId = relateOrderId;
    }
}
