package abacus.springboot.example.dao;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.v3.oas.annotations.media.Schema;

@Entity
@Table(name = "jc_billhg_pay")
@JsonIgnoreProperties(ignoreUnknown = true) 
@Schema(description = "回购支付明细")
public class JcBillHgPay implements Serializable {

	private static final long serialVersionUID = 7782628530648454397L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Schema(description = "自增长编码", required = true, example = "10")
	private Long id;
	
	@Version
	@Schema(description = "版本号", required = true, example = "1")
	private Integer version;
	
	@Schema(description = "稽查单号", required = true, example = "")
	private String billid;
	
	@Schema(description = "回购单号", required = true, example = "")
	private String billhg;
	
	@Schema(description = "支付方式", required = true, example = "")
	private String payment;
	
	@Schema(description = "支付金额", required = true, example = "")
	private double amount;
	
	@Schema(description = "账号名称", required = true, example = "")
	private String zhmc;
	
	@Schema(description = "开发银行", required = true, example = "")
	private String khyh;
	
	@Schema(description = "银行账号", required = true, example = "")
	private String yhzh;
	
	@Schema(description = "时间戳", required = true, example = "")
	private Date dt = new Date();

	public Long getId() {
		return id;
	}

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

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getBillid() {
		return billid;
	}

	public void setBillid(String billid) {
		this.billid = billid;
	}

	public String getBillhg() {
		return billhg;
	}

	public void setBillhg(String billhg) {
		this.billhg = billhg;
	}

	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public double getAmount() {
		return amount;
	}

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

	public String getZhmc() {
		return zhmc;
	}

	public void setZhmc(String zhmc) {
		this.zhmc = zhmc;
	}

	public String getKhyh() {
		return khyh;
	}

	public void setKhyh(String khyh) {
		this.khyh = khyh;
	}

	public String getYhzh() {
		return yhzh;
	}

	public void setYhzh(String yhzh) {
		this.yhzh = yhzh;
	}

	public Date getDt() {
		return dt;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}
}













