package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.*;
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;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商品停牌日计划表
 * </p>
 *
 * @author XKF
 * @since 2025-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GOODSCLOSEPLAN")
@ApiModel(value="Goodscloseplan对象", description="商品停牌日计划表")
@KeySequence(value = "SEQ_GOODSCLOSEPLAN")
public class Goodscloseplan extends Model<Goodscloseplan> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "AUTOID", type = IdType.INPUT)
    private Long autoid;

    @ApiModelProperty(value = "商品ID")
    @TableField("GOODSID")
    private Long goodsid;

    @ApiModelProperty(value = "停牌日期(yyyyMMdd)")
    @TableField("CLOSEDATE")
    private String closedate;

    @ApiModelProperty(value = "起始时间")
    @TableField("STARTTIME")
    private Date starttime;

    @ApiModelProperty(value = "结束时间")
    @TableField("ENDTIME")
    private Date endtime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFYTIME")
    private Date modifytime;

    @ApiModelProperty(value = "修改人")
    @TableField("MODIFIERID")
    private Long modifierid;


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

}
