| | |
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.FetchType;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.JoinColumn;
|
| | | import javax.persistence.ManyToOne;
|
| | | import javax.persistence.Table;
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
| | | *
|
| | | * @date 2018年1月29日
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_extract")
|
| | | @Table("yeshi_ec_extract")
|
| | | public class Extract {
|
| | | public static int STATE_NOT_PROCESS = 0;// 未处理
|
| | | public static int STATE_PASS = 1;// 通过
|
| | | public static int STATE_REJECT = 2;// 拒绝
|
| | | public static int STATE_PROCESSING = 3;// 正在处理
|
| | |
|
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @Column(name = "`id`")
|
| | | @Column(name = "id")
|
| | | private Long id;
|
| | | |
| | | @Column(name = "uid")
|
| | | private UserInfo userInfo;// 用户
|
| | | |
| | | @Column(name = "sid")
|
| | | private BusinessSystem system;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "adminId")
|
| | | private Long adminId; // 任务id 目前默认值
|
| | | |
| | | @Column(name = "account")
|
| | | private String account;// 庄户
|
| | |
|
| | | @Column(name = "name")
|
| | | private String name;// 提现名称
|
| | |
|
| | | @Column(name = "type")
|
| | | private Integer type;// 提现类型
|
| | |
|
| | | @Column(name = "money")
|
| | | private BigDecimal money;// 提现金额
|
| | |
|
| | | @Column(name = "extractTime")
|
| | | private Long extractTime;
|
| | |
|
| | | @Column(name = "ip")
|
| | | private String ip;
|
| | |
|
| | | @Column(name = "state")
|
| | | private Integer state;
|
| | |
|
| | | @Column(name = "reason")
|
| | | private String reason;
|
| | |
|
| | | |
| | |
|
| | | public Extract(Long id) {
|
| | | this.id = id;
|
| | |
| | | public Extract() {
|
| | |
|
| | | }
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "uid")
|
| | | @org.yeshi.utils.mybatis.Column(name = "uid")
|
| | | private UserInfo userInfo;// 用户
|
| | |
|
| | | private String account;// 庄户
|
| | |
|
| | | private String name;// 提现名称
|
| | |
|
| | | private Integer type;// 提现类型
|
| | |
|
| | | private BigDecimal money;// 提现金额
|
| | |
|
| | | private Long extractTime;
|
| | |
|
| | | private String ip;
|
| | |
|
| | | private Integer state;
|
| | |
|
| | | private String reason;
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sid")
|
| | | private BusinessSystem system;
|
| | |
|
| | | @Column(name = "adminId")
|
| | | @Expose
|
| | | @org.yeshi.utils.mybatis.Column(name = "adminId")
|
| | | private Long adminId; // 任务id 目前默认值
|
| | |
|
| | | |
| | | |
| | | // TODO 等待添加字段
|
| | | private Date receiveTime;// 到账时间
|
| | |
|