package com.czg.market.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分销员管理群(全民股东管理) 实体类。
 *
 * @author ww
 * @since 2026-01-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("mk_distribution_group")
public class MkDistributionGroup implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Long shopId;

    /**
     * 群二维码地址
     */
    private String groupUrl;

    /**
     * 模块标题 15字以内
     */
    private String title;

    /**
     * 模块内容 20字以内
     */
    private String content;

    /**
     * 是否开启
     */
    private Integer isEnable;

    /**
     * 创建时间
     */
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private LocalDateTime updateTime;

}
