package com.ssm.manage.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (StoreMemberClass)实体类
 *
 * @author makejava
 * @since 2022-05-23 09:32:59
 */
@Table(name = "store_member_class")
public class StoreMemberClass implements Serializable {
    private static final long serialVersionUID = -80171483145369014L;
    /**
     * id
     */
    @Id
    private Long id;
    /**
     * 门店Id
     */
    @Column(name = "store_id")
    private Long storeId;
    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;
    /**
     * 等级编码
     */
    @Column(name = "class_num")
    private String classNum;
    /**
     * 等级名称
     */
    @Column(name = "class_name")
    private String className;
    /**
     * 充值标准
     */
    @Column(name = "recharge_standard")
    private BigDecimal rechargeStandard;
    /**
     * 疗程标准
     */
    @Column(name = "course_standard")
    private BigDecimal courseStandard;
    /**
     * 收银标准
     */
    @Column(name = "cash_decimal")
    private BigDecimal cashDecimal;
    /**
     * 录单人ID
     */
    @Column(name = "input_id")
    private Long inputId;
    /**
     * 录单人名称
     */
    @Column(name = "input_by")
    private String inputBy;
    /**
     * 录单时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "input_date")
    private Date inputDate;
    /**
     * 修改人ID
     */
    @Column(name = "update_id")
    private Long updateId;
    /**
     * 修改人名称
     */
    @Column(name = "update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "update_date")
    private Date updateDate;
    /**
     * 0=月度，1=半年度，2=一年度
     */
    @Column(name = "statistics_quarter")
    private Integer statisticsQuarter;
    /**
     * 0=启用，1=禁用
     */
    @Column(name = "state")
    private Integer state;
    /**
     * 会员等级1-2-3-4.....
     */
    @Column(name = "class_row")
    private Integer classRow;

    public Integer getClassRow() {
        return classRow;
    }

    public void setClassRow(Integer classRow) {
        this.classRow = classRow;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getClassNum() {
        return classNum;
    }

    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public BigDecimal getRechargeStandard() {
        return rechargeStandard;
    }

    public void setRechargeStandard(BigDecimal rechargeStandard) {
        this.rechargeStandard = rechargeStandard;
    }

    public BigDecimal getCourseStandard() {
        return courseStandard;
    }

    public void setCourseStandard(BigDecimal courseStandard) {
        this.courseStandard = courseStandard;
    }

    public BigDecimal getCashDecimal() {
        return cashDecimal;
    }

    public void setCashDecimal(BigDecimal cashDecimal) {
        this.cashDecimal = cashDecimal;
    }

    public Long getInputId() {
        return inputId;
    }

    public void setInputId(Long inputId) {
        this.inputId = inputId;
    }

    public String getInputBy() {
        return inputBy;
    }

    public void setInputBy(String inputBy) {
        this.inputBy = inputBy;
    }

    public Date getInputDate() {
        return inputDate;
    }

    public void setInputDate(Date inputDate) {
        this.inputDate = inputDate;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getStatisticsQuarter() {
        return statisticsQuarter;
    }

    public void setStatisticsQuarter(Integer statisticsQuarter) {
        this.statisticsQuarter = statisticsQuarter;
    }

}

