package com.tofly.feesapi.yhgl.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 java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "YH_GROUP_ACCOUNTS", resultMap = "yhGroupAccountsMap")
@KeySequence("YH_GROUP_ACCOUNTS")
@ApiModel
public class YhGroupAccounts extends Model<YhGroupAccounts> {
    private static final long serialVersionUID = 1L;

    /**
     * 分组用户id
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "分组用户id")
    private String id;
    /**
     * 群主id
     */
    @ApiModelProperty(value = "群主id")
    private String groupId;
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    private String yhbh;
    /**
     * 操作人员
     */
    @ApiModelProperty(value = "操作人员")
    private String czry;
    /**
     * 操作人员名称
     */
    @ApiModelProperty(value = "操作人员名称")
    private String czrymc;
    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsj;

}
