139 lines
4.1 KiB
Java
139 lines
4.1 KiB
Java
package com.evo.restaurant.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
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
|
|
*/
|
|
@Data
|
|
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;
|
|
|
|
/** 删除标记 */
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private String 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();
|
|
}
|
|
}
|