package com.jeequan.jeepay.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.jeequan.jeepay.core.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 人员团队表
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2022-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sys_user_team")
public class SysUserTeam extends BaseModel {

    //gw
    public static final LambdaQueryWrapper<SysUserTeam> gw(){
        return new LambdaQueryWrapper<>();
    }

    /**
     * 团队ID
     */
    @TableId(value = "team_id", type = IdType.AUTO)
    private Long teamId;

    /**
     * 团队名
     */
    private String teamName;

    /**
     * 团队编号
     */
    private String teamNo;

    /**
     * 统计周期
     */
    private String statRangeType;

    /**
     * 所属系统： MGR-运营平台, AGENT-服务商平台
     */
    private String sysType;

    /**
     * 所属服务商ID / 0(平台)
     */
    private String belongInfoId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;


}
