| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.Table;
|
| | |
|
| | | /**
|
| | | * 红包相关参数设置
|
| | | * @author cxx
|
| | | *
|
| | | * @date 2018年1月29日
|
| | | */
|
| | | @Entity
|
| | | @Table(name="yeshi_ec_hongbao_manage")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_hongbao_manage")
|
| | | public class HongBaoManage {
|
| | | |
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @Column(name = "id")
|
| | | @org.yeshi.utils.mybatis.Column(name="id")
|
| | | private Long id;
|
| | | @Column(name="`key`")
|
| | | @org.yeshi.utils.mybatis.Column(name="key")
|
| | | private String key;
|
| | | @Column(name="`value`")
|
| | | @org.yeshi.utils.mybatis.Column(name="value")
|
| | | private String value;
|
| | | @Column(name="`remark`")
|
| | | @org.yeshi.utils.mybatis.Column(name="remark")
|
| | | private String remark;
|
| | | |
| | | public HongBaoManage() {
|
| | | }
|
| | | |
| | | public HongBaoManage(String key, String value, String remark) {
|
| | | super();
|
| | | this.key = key;
|
| | | this.value = value;
|
| | | this.remark = remark;
|
| | | }
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | | public String getKey() {
|
| | | return key;
|
| | | }
|
| | | public void setKey(String key) {
|
| | | this.key = key;
|
| | | }
|
| | | public String getValue() {
|
| | | return value;
|
| | | }
|
| | | public void setValue(String value) {
|
| | | this.value = value;
|
| | | }
|
| | |
|
| | | public String getRemark() {
|
| | | return remark;
|
| | | }
|
| | |
|
| | | public void setRemark(String remark) {
|
| | | this.remark = remark;
|
| | | }
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 红包相关参数设置 |
| | | * @author cxx |
| | | * |
| | | * @date 2018年1月29日 |
| | | */ |
| | | @Table("yeshi_ec_hongbao_manage") |
| | | public class HongBaoManage { |
| | | @Column(name="id") |
| | | private Long id; |
| | | @Column(name="key") |
| | | private String key; |
| | | @Column(name="value") |
| | | private String value; |
| | | @Column(name="remark") |
| | | private String remark; |
| | | @Column(name="system") |
| | | private SystemEnum system; |
| | | |
| | | public SystemEnum getSystem() { |
| | | return system; |
| | | } |
| | | |
| | | public void setSystem(SystemEnum system) { |
| | | this.system = system; |
| | | } |
| | | |
| | | public HongBaoManage() { |
| | | } |
| | | |
| | | public HongBaoManage(String key, String value, String remark) { |
| | | super(); |
| | | this.key = key; |
| | | this.value = value; |
| | | this.remark = remark; |
| | | } |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | public String getKey() { |
| | | return key; |
| | | } |
| | | public void setKey(String key) { |
| | | this.key = key; |
| | | } |
| | | public String getValue() { |
| | | return value; |
| | | } |
| | | public void setValue(String value) { |
| | | this.value = value; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | } |