package com.bonus.sharedstation.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 便民服务信息表保洁(CleaningServicesOrder)表实体类
 *
 * @author makejava
 * @since 2024-12-10 17:01:59
 */
@Data
@TableName("yz_cleaning_services_order")
public class CleaningServicesOrder implements Serializable {
    private static final long serialVersionUID = 716556758843254410L;
    private Integer id;
    //服务名称
    private String serviceName;

    /**
     * 关联的服务 id
     */
    private Integer serviceId;
    //用户 id
    private String userId;
    //用户名
    private String name;
    //单位
    private String status;
    //下单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    //消费金额
    private Double usePrice;
    //单价
    private Double price;
    //单位（如：元/小时、元/台等）
    private String unit;
    //服务描述或备注
    private String description;
    //创建人
    private String createdBy;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
    //修改人
    private String updatedBy;
    //逻辑删除标识，1表示已删除，0表示未删除
    private String isDeleted;
    /**
     * 手机号
     */
    private String phone;
    //流水号
    private String ordno;

    private Integer tenantId;

    private String orderPayInfo;
}

