package thyyxxk.webserver.entity.yiji;

import java.io.Serializable;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yz_zy_patient_fee")
public class YzZyPatientFeeData implements Serializable {

    private static final long serialVersionUID = 1678007976669679731L;

    /**
     * inpatientNo
     */
    @TableField(value = "inpatient_no")
    private String inpatientNo;

    /**
     * admissTimes
     */
    @TableField(value = "admiss_times")
    private Integer admissTimes;

    /**
     * ledgerSn
     */
    @TableField(value = "ledger_sn")
    private Integer ledgerSn;

    /**
     * detailSn
     */
    @TableField(value = "detail_sn")
    private Integer detailSn;

    /**
     * chargeDate
     */
    @TableField(value = "charge_date")
    private Date chargeDate;

    /**
     * opIdCode
     */
    @TableField(value = "op_id_code")
    private String opIdCode;

    /**
     * chargeCode
     */
    @TableField(value = "charge_code")
    private String chargeCode;

    /**
     * infantFlag
     */
    @TableField(value = "infant_flag")
    private String infantFlag;

    /**
     * chargeStatus
     */
    @TableField(value = "charge_status")
    private String chargeStatus;

    /**
     * chargeFee
     */
    @TableField(value = "charge_fee")
    private BigDecimal chargeFee;

    /**
     * selfFlag
     */
    @TableField(value = "self_flag")
    private String selfFlag;

    /**
     * separateFlag
     */
    @TableField(value = "separate_flag")
    private String separateFlag;

    /**
     * suppressFlag
     */
    @TableField(value = "suppress_flag")
    private String suppressFlag;

    /**
     * occTime
     */
    @TableField(value = "occ_time")
    private Date occTime;

    /**
     * actOrderNo
     */
    @TableField(value = "act_order_no")
    private BigDecimal actOrderNo;

    /**
     * deptCode
     */
    @TableField(value = "dept_code")
    private String deptCode;

    /**
     * wardCode
     */
    @TableField(value = "ward_code")
    private String wardCode;

    /**
     * orderCount
     */
    @TableField(value = "order_count")
    private BigDecimal orderCount;

    /**
     * paySelf
     */
    @TableField(value = "pay_self")
    private String paySelf;

    /**
     * execUnit
     */
    @TableField(value = "exec_unit")
    private String execUnit;

    /**
     * zySerialNo
     */
    @TableField(value = "zy_serial_no")
    private String zySerialNo;

    /**
     * opFlag
     */
    @TableField(value = "op_flag")
    private String opFlag;

    /**
     * opId
     */
    @TableField(value = "op_id")
    private String opId;

    /**
     * opDate
     */
    @TableField(value = "op_date")
    private Date opDate;

    /**
     * ybSelfFlag
     */
    @TableField(value = "yb_self_flag")
    private String ybSelfFlag;

    public static LambdaQueryWrapper<YzZyPatientFeeData> lambdaQueryWrapper() {
        return new LambdaQueryWrapper<>();
    }

    public static QueryWrapper<YzZyPatientFeeData> queryWrapper() {
        return new QueryWrapper<>();
    }


}
