Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/domain/MemberGroup.java

147 lines
3.3 KiB
Java
Raw Normal View History

2023-12-26 14:59:02 +08:00
package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.math.BigDecimal;
/**
* 会员组对象 member_group
2024-01-02 15:29:30 +08:00
*
2023-12-26 14:59:02 +08:00
* @author jsowell
* @date 2023-12-26
*/
2024-01-02 15:29:30 +08:00
public class MemberGroup extends BaseEntity {
2023-12-26 14:59:02 +08:00
private static final long serialVersionUID = 1L;
2024-01-02 15:29:30 +08:00
/**
* 主键
*/
2023-12-26 14:59:02 +08:00
private Long id;
2024-01-02 15:29:30 +08:00
/**
* 会员组编号
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "会员组编号")
private String groupCode;
2024-01-02 15:29:30 +08:00
/**
* 运营商id
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "运营商id")
private String merchantId;
2024-01-02 15:29:30 +08:00
/**
* 站点id
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "站点id")
private String stationId;
2024-01-02 15:29:30 +08:00
/**
* 会员组等级
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "会员组等级")
private String groupLevel;
2024-01-02 15:29:30 +08:00
/**
* 类型1-服务费折扣2-电费折扣 3-电费和服务费一起折扣
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "类型", readConverterExp = "1=-服务费折扣2-电费折扣,=3-电费和服务费一起折扣")
private String groupType;
2024-01-02 15:29:30 +08:00
/**
* 折扣率
*/
2023-12-26 14:59:02 +08:00
@Excel(name = "折扣率")
private BigDecimal discount;
2024-01-02 15:29:30 +08:00
/**
* 删除标识0-正常1-删除
*/
2023-12-26 14:59:02 +08:00
private String delFlag;
2024-01-02 15:29:30 +08:00
public void setId(Long id) {
2023-12-26 14:59:02 +08:00
this.id = id;
}
2024-01-02 15:29:30 +08:00
public Long getId() {
2023-12-26 14:59:02 +08:00
return id;
}
2024-01-02 15:29:30 +08:00
public void setGroupCode(String groupCode) {
2023-12-26 14:59:02 +08:00
this.groupCode = groupCode;
}
2024-01-02 15:29:30 +08:00
public String getGroupCode() {
2023-12-26 14:59:02 +08:00
return groupCode;
}
2024-01-02 15:29:30 +08:00
public void setMerchantId(String merchantId) {
2023-12-26 14:59:02 +08:00
this.merchantId = merchantId;
}
2024-01-02 15:29:30 +08:00
public String getMerchantId() {
2023-12-26 14:59:02 +08:00
return merchantId;
}
2024-01-02 15:29:30 +08:00
public void setStationId(String stationId) {
2023-12-26 14:59:02 +08:00
this.stationId = stationId;
}
2024-01-02 15:29:30 +08:00
public String getStationId() {
2023-12-26 14:59:02 +08:00
return stationId;
}
2024-01-02 15:29:30 +08:00
public void setGroupLevel(String groupLevel) {
2023-12-26 14:59:02 +08:00
this.groupLevel = groupLevel;
}
2024-01-02 15:29:30 +08:00
public String getGroupLevel() {
2023-12-26 14:59:02 +08:00
return groupLevel;
}
2024-01-02 15:29:30 +08:00
public void setGroupType(String groupType) {
2023-12-26 14:59:02 +08:00
this.groupType = groupType;
}
2024-01-02 15:29:30 +08:00
public String getGroupType() {
2023-12-26 14:59:02 +08:00
return groupType;
}
2024-01-02 15:29:30 +08:00
public void setDiscount(BigDecimal discount) {
2023-12-26 14:59:02 +08:00
this.discount = discount;
}
2024-01-02 15:29:30 +08:00
public BigDecimal getDiscount() {
2023-12-26 14:59:02 +08:00
return discount;
}
2024-01-02 15:29:30 +08:00
public void setDelFlag(String delFlag) {
2023-12-26 14:59:02 +08:00
this.delFlag = delFlag;
}
2024-01-02 15:29:30 +08:00
public String getDelFlag() {
2023-12-26 14:59:02 +08:00
return delFlag;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
2024-01-02 15:29:30 +08:00
.append("id", getId())
.append("groupCode", getGroupCode())
.append("merchantId", getMerchantId())
.append("stationId", getStationId())
.append("groupLevel", getGroupLevel())
.append("groupType", getGroupType())
.append("discount", getDiscount())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag())
.toString();
2023-12-26 14:59:02 +08:00
}
}