331 lines
8.0 KiB
Java
331 lines
8.0 KiB
Java
package com.evo.restaurant.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.evo.common.annotation.Excel;
|
|
import com.evo.common.core.domain.BaseEntity;
|
|
|
|
/**
|
|
* 餐饮统计对象 rz_restaurant_statistics
|
|
*
|
|
* @author evo
|
|
* @date 2024-11-21
|
|
*/
|
|
public class RzRestaurantStatistics extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键 */
|
|
private Long id;
|
|
|
|
/** 员工ID */
|
|
@Excel(name = "员工ID")
|
|
private Long staffId;
|
|
private Long deptId;
|
|
@Excel(name = "公司名称")
|
|
private String companyName; //公司名称
|
|
/** 姓名 */
|
|
@Excel(name = "姓名")
|
|
private String name;
|
|
|
|
/** 统计月份 */
|
|
@JsonFormat(pattern = "yyyy-MM")
|
|
@Excel(name = "统计月份", width = 30, dateFormat = "yyyy-MM")
|
|
private Date month;
|
|
|
|
/** 早餐消费 */
|
|
@Excel(name = "早餐消费")
|
|
private BigDecimal breakfastExpend;
|
|
|
|
/** 早餐次数 */
|
|
@Excel(name = "早餐次数")
|
|
private Long breakfastNumber;
|
|
|
|
/** 早餐个人总消费 */
|
|
@Excel(name = "早餐个人总消费")
|
|
private BigDecimal breakfastPreSumExpend;
|
|
|
|
/** 早餐总消费 */
|
|
@Excel(name = "早餐总消费")
|
|
private BigDecimal breakfastSumExpend;
|
|
|
|
/** 午餐消费 */
|
|
@Excel(name = "午餐消费")
|
|
private BigDecimal lunchExpend;
|
|
|
|
/** 午餐次数 */
|
|
@Excel(name = "午餐次数")
|
|
private Long lunchNumber;
|
|
|
|
/** 午餐个人总消费 */
|
|
@Excel(name = "午餐个人总消费")
|
|
private BigDecimal lunchPreSumExpend;
|
|
|
|
/** 午餐总消费 */
|
|
@Excel(name = "午餐总消费")
|
|
private BigDecimal lunchSumExpend;
|
|
|
|
/** 晚餐消费 */
|
|
@Excel(name = "晚餐消费")
|
|
private BigDecimal supperExpend;
|
|
|
|
/** 晚餐次数 */
|
|
@Excel(name = "晚餐次数")
|
|
private Long supperNumber;
|
|
|
|
/** 晚餐个人总消费 */
|
|
@Excel(name = "晚餐个人总消费")
|
|
private BigDecimal supperPreSumExpend;
|
|
|
|
/** 晚餐总消费 */
|
|
@Excel(name = "晚餐总消费")
|
|
private BigDecimal supperSumExpend;
|
|
|
|
/** 个人总消费 */
|
|
@Excel(name = "个人总消费")
|
|
private BigDecimal personalSumConsumption;
|
|
|
|
/** 总消费 */
|
|
@Excel(name = "总消费")
|
|
private BigDecimal sumConsumption;
|
|
|
|
/** 备注 */
|
|
@Excel(name = "备注")
|
|
private String remarks;
|
|
|
|
/** 删除标记 */
|
|
private String delFlag;
|
|
|
|
public String getCompanyName() {
|
|
return companyName;
|
|
}
|
|
|
|
public void setCompanyName(String companyName) {
|
|
this.companyName = companyName;
|
|
}
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setStaffId(Long staffId)
|
|
{
|
|
this.staffId = staffId;
|
|
}
|
|
|
|
public Long getStaffId()
|
|
{
|
|
return staffId;
|
|
}
|
|
public void setDeptId(Long deptId)
|
|
{
|
|
this.deptId = deptId;
|
|
}
|
|
|
|
public Long getDeptId()
|
|
{
|
|
return deptId;
|
|
}
|
|
public void setName(String name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName()
|
|
{
|
|
return name;
|
|
}
|
|
public void setMonth(Date month)
|
|
{
|
|
this.month = month;
|
|
}
|
|
|
|
public Date getMonth()
|
|
{
|
|
return month;
|
|
}
|
|
public void setBreakfastExpend(BigDecimal breakfastExpend)
|
|
{
|
|
this.breakfastExpend = breakfastExpend;
|
|
}
|
|
|
|
public BigDecimal getBreakfastExpend()
|
|
{
|
|
return breakfastExpend;
|
|
}
|
|
public void setBreakfastNumber(Long breakfastNumber)
|
|
{
|
|
this.breakfastNumber = breakfastNumber;
|
|
}
|
|
|
|
public Long getBreakfastNumber()
|
|
{
|
|
return breakfastNumber;
|
|
}
|
|
public void setBreakfastPreSumExpend(BigDecimal breakfastPreSumExpend)
|
|
{
|
|
this.breakfastPreSumExpend = breakfastPreSumExpend;
|
|
}
|
|
|
|
public BigDecimal getBreakfastPreSumExpend()
|
|
{
|
|
return breakfastPreSumExpend;
|
|
}
|
|
public void setBreakfastSumExpend(BigDecimal breakfastSumExpend)
|
|
{
|
|
this.breakfastSumExpend = breakfastSumExpend;
|
|
}
|
|
|
|
public BigDecimal getBreakfastSumExpend()
|
|
{
|
|
return breakfastSumExpend;
|
|
}
|
|
public void setLunchExpend(BigDecimal lunchExpend)
|
|
{
|
|
this.lunchExpend = lunchExpend;
|
|
}
|
|
|
|
public BigDecimal getLunchExpend()
|
|
{
|
|
return lunchExpend;
|
|
}
|
|
public void setLunchNumber(Long lunchNumber)
|
|
{
|
|
this.lunchNumber = lunchNumber;
|
|
}
|
|
|
|
public Long getLunchNumber()
|
|
{
|
|
return lunchNumber;
|
|
}
|
|
public void setLunchPreSumExpend(BigDecimal lunchPreSumExpend)
|
|
{
|
|
this.lunchPreSumExpend = lunchPreSumExpend;
|
|
}
|
|
|
|
public BigDecimal getLunchPreSumExpend()
|
|
{
|
|
return lunchPreSumExpend;
|
|
}
|
|
public void setLunchSumExpend(BigDecimal lunchSumExpend)
|
|
{
|
|
this.lunchSumExpend = lunchSumExpend;
|
|
}
|
|
|
|
public BigDecimal getLunchSumExpend()
|
|
{
|
|
return lunchSumExpend;
|
|
}
|
|
public void setSupperExpend(BigDecimal supperExpend)
|
|
{
|
|
this.supperExpend = supperExpend;
|
|
}
|
|
|
|
public BigDecimal getSupperExpend()
|
|
{
|
|
return supperExpend;
|
|
}
|
|
public void setSupperNumber(Long supperNumber)
|
|
{
|
|
this.supperNumber = supperNumber;
|
|
}
|
|
|
|
public Long getSupperNumber()
|
|
{
|
|
return supperNumber;
|
|
}
|
|
public void setSupperPreSumExpend(BigDecimal supperPreSumExpend)
|
|
{
|
|
this.supperPreSumExpend = supperPreSumExpend;
|
|
}
|
|
|
|
public BigDecimal getSupperPreSumExpend()
|
|
{
|
|
return supperPreSumExpend;
|
|
}
|
|
public void setSupperSumExpend(BigDecimal supperSumExpend)
|
|
{
|
|
this.supperSumExpend = supperSumExpend;
|
|
}
|
|
|
|
public BigDecimal getSupperSumExpend()
|
|
{
|
|
return supperSumExpend;
|
|
}
|
|
public void setPersonalSumConsumption(BigDecimal personalSumConsumption)
|
|
{
|
|
this.personalSumConsumption = personalSumConsumption;
|
|
}
|
|
|
|
public BigDecimal getPersonalSumConsumption()
|
|
{
|
|
return personalSumConsumption;
|
|
}
|
|
public void setSumConsumption(BigDecimal sumConsumption)
|
|
{
|
|
this.sumConsumption = sumConsumption;
|
|
}
|
|
|
|
public BigDecimal getSumConsumption()
|
|
{
|
|
return sumConsumption;
|
|
}
|
|
public void setRemarks(String remarks)
|
|
{
|
|
this.remarks = remarks;
|
|
}
|
|
|
|
public String getRemarks()
|
|
{
|
|
return remarks;
|
|
}
|
|
public void setDelFlag(String delFlag)
|
|
{
|
|
this.delFlag = delFlag;
|
|
}
|
|
|
|
public String getDelFlag()
|
|
{
|
|
return delFlag;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("staffId", getStaffId())
|
|
.append("deptId", getDeptId())
|
|
.append("name", getName())
|
|
.append("month", getMonth())
|
|
.append("breakfastExpend", getBreakfastExpend())
|
|
.append("breakfastNumber", getBreakfastNumber())
|
|
.append("breakfastPreSumExpend", getBreakfastPreSumExpend())
|
|
.append("breakfastSumExpend", getBreakfastSumExpend())
|
|
.append("lunchExpend", getLunchExpend())
|
|
.append("lunchNumber", getLunchNumber())
|
|
.append("lunchPreSumExpend", getLunchPreSumExpend())
|
|
.append("lunchSumExpend", getLunchSumExpend())
|
|
.append("supperExpend", getSupperExpend())
|
|
.append("supperNumber", getSupperNumber())
|
|
.append("supperPreSumExpend", getSupperPreSumExpend())
|
|
.append("supperSumExpend", getSupperSumExpend())
|
|
.append("personalSumConsumption", getPersonalSumConsumption())
|
|
.append("sumConsumption", getSumConsumption())
|
|
.append("remarks", getRemarks())
|
|
.append("delFlag", getDelFlag())
|
|
.append("createBy", getCreateBy())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateBy", getUpdateBy())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|