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", resultMap = "yhGroupMap")
@KeySequence("YH_GROUP")
@ApiModel
public class YhGroup extends Model<YhGroup> {
    private static final long serialVersionUID = 1L;

    /**
     * 用户群主ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "用户群主ID")
    private String id;
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    private String yhbh;
    /**
     * 是否启用0否1是
     */
    @ApiModelProperty(value = "是否启用0否1是")
    private String isdisabled;
    /**
     * 操作人员
     */
    @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;

}
