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

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
/**
 * 长者外出日常费用关系表 DO
 *
 * @author 管理员
 */
@TableName("elderly_ask_leave_daily_expense_relation")
@KeySequence("elderly_ask_leave_daily_expense_relation_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyAskLeaveDailyExpenseRelationDO extends BaseNoDeleteDO implements Serializable {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 老人ID
     */
    @Schema(description = "老人ID", example = "1596")
    private Long elderId;
    /**
     * 外出id
     */
    @Schema(description = "外出id", example = "1596")
    private Long askLeaveId;
    /**
     * 日常费用id
     */
    @Schema(description = "日常费用id", example = "1596")
    private Long dailyExpenseId;
    /**
     * 机构id
     */
    @Schema(description = "机构id", example = "1596")
    private Long tenantId;
}
