package com.yeshi.fanli.entity.order;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
/**
|
* 订单补贴
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_order_subsidy")
|
public class OrderSubsidy {
|
//未知
|
public static final int STATE_UNKNOWN = 0;
|
// 可补贴
|
public static final int STATE_VALID = 1;
|
// 不可补贴
|
public static final int STATE_INVALID = 2;
|
// 已补贴成功
|
public static final int STATE_SUBSIDIZED = 3;
|
|
|
@Column(name = "os_id")
|
private Long id;
|
@Column(name = "os_uid")
|
private Long uid;
|
@Column(name = "os_money")
|
private BigDecimal money;
|
@Column(name = "os_order_no")
|
private String orderNo;
|
@Column(name = "os_source_type")
|
private Integer sourceType;
|
@Column(name = "os_state")
|
private Integer state;
|
@Column(name = "os_create_time")
|
private Date createTime;
|
@Column(name = "os_update_time")
|
private Date updateTime;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public Integer getSourceType() {
|
return sourceType;
|
}
|
|
public void setSourceType(Integer sourceType) {
|
this.sourceType = sourceType;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
}
|