package com.tofly.feesapi.yhgl.entity.dto;

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

/**
 * @author sunjian
 * @date 2025/2/11
 */
@Data
@ApiModel
public class YhXzbgLogInsert {

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

    @ApiModelProperty(value = "抄表卡id")
    private String cbkid;

    @ApiModelProperty(value = "变更日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bgsj;

    @ApiModelProperty(value = "备注说明")
    private String bz;

    @ApiModelProperty(value = "新用水类型")
    private String newYslx;

    @ApiModelProperty(value = "新水价编码")
    private String newSjbm;

    @ApiModelProperty(value = "水量比例")
    private BigDecimal slbl = BigDecimal.ZERO;

    @ApiModelProperty(value = "新水价编码1")
    private String newSjbm1;

    @ApiModelProperty(value = "水量比例1")
    private BigDecimal slbl1 = BigDecimal.ZERO;

    @ApiModelProperty(value = "新水价编码2")
    private String newSjbm2;

    @ApiModelProperty(value = "水量比例2")
    private BigDecimal slbl2 = BigDecimal.ZERO;

    @ApiModelProperty(value = "新一表多价标志")
    private String newYbdjbz;

    @ApiModelProperty(value = "变更方向（0不变，1低改高，2高改低）")
    private String bgfx;

    @ApiModelProperty(value = "变更原因")
    private String bgyy;

    @ApiModelProperty(value = "0微信 1营业厅")
    private String source;

    @ApiModelProperty(value = "微信来源表id")
    private String wxid;

}
