package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 团购名单(BaseGrouponList)实体类
 *
 * @author makejava
 * @since 2022-04-29 11:28:01
 */
@Table(name = "base_groupon_list")
@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class BaseGrouponListRequest implements Serializable {
    private static final long serialVersionUID = 244272396219607678L;
    /**
     * id
     */
    @Id
    private Long id;
    /**
     * 团购单据Id
     */
    @Column(name = "groupon_cardId")
    private Long grouponCardId;
    /**
     * 会员名称
     */
    @Column(name = "member_name")
    private String memberName;
    /**
     * 性别：1：男；0：女
     */
    @Column(name = "sex")
    private Integer sex;
    /**
     * 手机
     */
    @Column(name = "mobile_phone")
    private String mobilePhone;
    /**
     * 会员登录密码
     */
    @Column(name = "password")
    private String password;
    /**
     * 会员消费密码
     */
    @Column(name = "cash_password")
    private String cashPassword;


    public Long getId() {
        return id;
    }

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

    public Long getGrouponCardId() {
        return grouponCardId;
    }

    public void setGrouponCardId(Long grouponCardId) {
        this.grouponCardId = grouponCardId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCashPassword() {
        return cashPassword;
    }

    public void setCashPassword(String cashPassword) {
        this.cashPassword = cashPassword;
    }

}

