/*
 * Author: wangjian
 * 生成entity
 */
package com.tofly.feesapi.bjgl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

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

    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "主表ID")
    private String id;

    @ApiModelProperty(value = "用户编号")
    private String yhbh;

    @ApiModelProperty(value = "抄表卡号")
    private String cbkh;

    @ApiModelProperty(value = "分类:1总分表 2子母表")
    private String typeId;

    @ApiModelProperty(value = "计费方式")
    private String jsfs;

    @ApiModelProperty(value = "是否可用0否1是")
    private String isdisabled;

    @ApiModelProperty(value = "操作人员")
    private String czry;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsj;

    @ApiModelProperty(value = "操作人员姓名")
    private String czryxm;
}
