📄 blancementrecord.java.svn-base
字号:
package com.hotelmaster.home.domain;
import java.math.BigDecimal;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
@Entity
@Table(name="nhblancementrecord")
public class BlancementRecord {
private String brId; //uupkid
private Timestamp brDate; //交易日期
private String brType; //交易类型
private String brResult; //交易结果
private String brCheckInOrderId; //登记单号 uupkid
private String brGuestId; //客人Id uupkid
private BigDecimal brTotalExpenses; //总金额
private String brOperator; //操作员
@Id
@Column(nullable=false, updatable=false, length=32)
@GeneratedValue(generator="system-uuid")
@GenericGenerator(name="system-uuid", strategy="uuid")
public String getBrId() {
return brId;
}
public void setBrId(String brId) {
this.brId = brId;
}
@Column(nullable=false)
public Timestamp getBrDate() {
return brDate;
}
public void setBrDate(Timestamp brDate) {
this.brDate = brDate;
}
@Column(nullable=false, length=16)
public String getBrType() {
return brType;
}
public void setBrType(String brType) {
this.brType = brType;
}
@Column(nullable=false, length=100)
public String getBrResult() {
return brResult;
}
public void setBrResult(String brResult) {
this.brResult = brResult;
}
@Column(nullable=false, length=32)
public String getBrCheckInOrderId() {
return brCheckInOrderId;
}
public void setBrCheckInOrderId(String brCheckInOrderId) {
this.brCheckInOrderId = brCheckInOrderId;
}
@Column(nullable=false, length=32)
public String getBrGuestId() {
return brGuestId;
}
public void setBrGuestId(String brGuestId) {
this.brGuestId = brGuestId;
}
@Column(nullable=false)
public BigDecimal getBrTotalExpenses() {
return brTotalExpenses;
}
public void setBrTotalExpenses(BigDecimal brTotalExpenses) {
this.brTotalExpenses = brTotalExpenses;
}
@Column(nullable=false, length=20)
public String getBrOperator() {
return brOperator;
}
public void setBrOperator(String brOperator) {
this.brOperator = brOperator;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -