package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 市场节假日表
 * </p>
 *
 * @author XKF
 * @since 2025-08-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MARKETCALENDAR")
@ApiModel(value="Marketcalendar对象", description="市场节假日表")
public class Marketcalendar extends Model<Marketcalendar> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "市场ID")
    @TableId(value = "MARKETID", type = IdType.AUTO)
    private Long marketid;

    @ApiModelProperty(value = "节假日期(yyyyMMdd) ")
    @TableField("HOLIDAYDATE")
    private String holidaydate;


    @Override
    public Serializable pkVal() {
        return this.marketid;
    }

}
