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>
 * MarketSection
 * </p>
 *
 * @author XKF
 * @since 2025-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MARKETSECTION")
@ApiModel(value="Marketsection对象", description="MarketSection")
@KeySequence(value = "SEQ_MARKETSECTION")
public class Marketsection extends Model<Marketsection> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "市场版块ID(SEQ_MARKETSECTION)")
    @TableId(value = "MARKETSECTIONID", type = IdType.INPUT)
    private Long marketsectionid;

    @ApiModelProperty(value = "市场版块名称")
    @TableField("MARKETSECTIONNAME")
    private String marketsectionname;

    @ApiModelProperty(value = "排序")
    @TableField("ORDERINDEX")
    private Integer orderindex;

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

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATETIME")
    private Date createtime;

    @ApiModelProperty(value = "创建人来源 - 1:管理端 2:终端 3:交易")
    @TableField("CREATORSRC")
    private Integer creatorsrc;

    @ApiModelProperty(value = "创建人ID")
    @TableField("CREATORID")
    private Long creatorid;

    @ApiModelProperty(value = "修改人来源 - 1:管理端 2:终端")
    @TableField("MODIFIERSRC")
    private Integer modifiersrc;

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

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

    @ApiModelProperty(value = "是否有效 - 0:无效 1:有效")
    @TableField("ISVALID")
    private Integer isvalid;

    @ApiModelProperty(value = "显示图片(90*90)")
    @TableField("PICTUREURL")
    private String pictureurl;

    @ApiModelProperty(value = "市场版块名称(英文)")
    @TableField("MARKETSECTIONNAMEEN")
    private String marketsectionnameen;

    @ApiModelProperty(value = "市场版块名称(繁体)")
    @TableField("MARKETSECTIONNAMEZH_TW")
    private String marketsectionnamezhTw;

    @ApiModelProperty(value = "市场版块名称(泰文)")
    @TableField("MARKETSECTIONNAMETH")
    private String marketsectionnameth;

    @ApiModelProperty(value = "市场版块名称(越南语)")
    @TableField("MARKETSECTIONNAMEVI")
    private String marketsectionnamevi;


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

}
