mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 05:25:12 +08:00
141 lines
3.2 KiB
Java
141 lines
3.2 KiB
Java
|
|
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
|
|||
|
|
*
|
|||
|
|
* @author jsowell
|
|||
|
|
* @date 2023-12-26
|
|||
|
|
*/
|
|||
|
|
public class MemberGroup extends BaseEntity
|
|||
|
|
{
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/** 主键 */
|
|||
|
|
private Long id;
|
|||
|
|
|
|||
|
|
/** 会员组编号 */
|
|||
|
|
@Excel(name = "会员组编号")
|
|||
|
|
private String groupCode;
|
|||
|
|
|
|||
|
|
/** 运营商id */
|
|||
|
|
@Excel(name = "运营商id")
|
|||
|
|
private String merchantId;
|
|||
|
|
|
|||
|
|
/** 站点id */
|
|||
|
|
@Excel(name = "站点id")
|
|||
|
|
private String stationId;
|
|||
|
|
|
|||
|
|
/** 会员组等级 */
|
|||
|
|
@Excel(name = "会员组等级")
|
|||
|
|
private String groupLevel;
|
|||
|
|
|
|||
|
|
/** 类型(1-服务费折扣,2-电费折扣 ,3-电费和服务费一起折扣) */
|
|||
|
|
@Excel(name = "类型", readConverterExp = "1=-服务费折扣,2-电费折扣,,=3-电费和服务费一起折扣")
|
|||
|
|
private String groupType;
|
|||
|
|
|
|||
|
|
/** 折扣率 */
|
|||
|
|
@Excel(name = "折扣率")
|
|||
|
|
private BigDecimal discount;
|
|||
|
|
|
|||
|
|
/** 删除标识(0-正常;1-删除) */
|
|||
|
|
private String delFlag;
|
|||
|
|
|
|||
|
|
public void setId(Long id)
|
|||
|
|
{
|
|||
|
|
this.id = id;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Long getId()
|
|||
|
|
{
|
|||
|
|
return id;
|
|||
|
|
}
|
|||
|
|
public void setGroupCode(String groupCode)
|
|||
|
|
{
|
|||
|
|
this.groupCode = groupCode;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getGroupCode()
|
|||
|
|
{
|
|||
|
|
return groupCode;
|
|||
|
|
}
|
|||
|
|
public void setMerchantId(String merchantId)
|
|||
|
|
{
|
|||
|
|
this.merchantId = merchantId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getMerchantId()
|
|||
|
|
{
|
|||
|
|
return merchantId;
|
|||
|
|
}
|
|||
|
|
public void setStationId(String stationId)
|
|||
|
|
{
|
|||
|
|
this.stationId = stationId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getStationId()
|
|||
|
|
{
|
|||
|
|
return stationId;
|
|||
|
|
}
|
|||
|
|
public void setGroupLevel(String groupLevel)
|
|||
|
|
{
|
|||
|
|
this.groupLevel = groupLevel;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getGroupLevel()
|
|||
|
|
{
|
|||
|
|
return groupLevel;
|
|||
|
|
}
|
|||
|
|
public void setGroupType(String groupType)
|
|||
|
|
{
|
|||
|
|
this.groupType = groupType;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getGroupType()
|
|||
|
|
{
|
|||
|
|
return groupType;
|
|||
|
|
}
|
|||
|
|
public void setDiscount(BigDecimal discount)
|
|||
|
|
{
|
|||
|
|
this.discount = discount;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public BigDecimal getDiscount()
|
|||
|
|
{
|
|||
|
|
return discount;
|
|||
|
|
}
|
|||
|
|
public void setDelFlag(String delFlag)
|
|||
|
|
{
|
|||
|
|
this.delFlag = delFlag;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public String getDelFlag()
|
|||
|
|
{
|
|||
|
|
return delFlag;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@Override
|
|||
|
|
public String toString() {
|
|||
|
|
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
|||
|
|
.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();
|
|||
|
|
}
|
|||
|
|
}
|