package org.dromara.app.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;
import java.util.List;

/**
 * 日程排列对象 app_schedule
 *
 * @author Lion Li
 * @date 2026-04-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_schedule")
public class AppSchedule extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 排程名称
     */
    private String name;


    /**
     * 状态 0-关闭 1 开启
     */
    private String status;

    // createTime 已由父类 BaseEntity 提供，此处不再重复定义
    // private Date createTime;

    //private List<AppScheduleDetail> details;

}
