package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;

/**
 * 长者周报餐记录 DO
 */
@TableName("elderly_order_food")
@KeySequence("elderly_order_food_seq")
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyOrderFoodDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 长者id
     */
    private Long elderId;

    /**
     * 报餐日期
     */
    private LocalDate orderFoodDate;

    /**
     * 额外自选
     */
    private String extraDishes;

    /**
     * 额外自选选项
     */
    private String extraDishesOption;

    /**
     * 机构id
     */
    private Long tenantId;
}

