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;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 会员分润组明细表
 * </p>
 *
 * @author XKF
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SUBAREAGROUPDETAIL")
@ApiModel(value="Subareagroupdetail对象", description="会员分润组明细表")
public class Subareagroupdetail extends Model<Subareagroupdetail> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "子机构分组")
    private Long subareagroupid;

    @ApiModelProperty(value = "子机构用户ID")
    @TableField("USERID")
    private Long userid;

    @ApiModelProperty(value = "操作人")
    @TableField("OPERATORID")
    private Long operatorid;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATETIME")
    private Date updatetime;


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

}
