package com.kxs.product.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 广电推送订单信息表(KxsGdOrder)表实体类
 *
 * @author 系统
 * @since 2024-06-19 12:36:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsGdOrder extends Model<KxsGdOrder> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private Integer delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 广电sn
     */
    @Schema(description = "广电sn")
    private String iccid;


    /**
     * 首充金额
     */
    @Schema(description = "首充金额")
    private BigDecimal firstRechargeAmount;


    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String productName;


    /**
     * 省份
     */
    @Schema(description = "省份")
    private String province;


    /**
     * 城市
     */
    @Schema(description = "城市")
    private String city;


    /**
     * 入网姓名
     */
    @Schema(description = "入网姓名")
    private String userName;


    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    /**
     * 状态 1 订单生成2 订单正在运行3 待发货4 配送中5 订单成功结束6 已激活成功11 办理失败12 拒签13 订单取消中14 订单取消
     */
    @Schema(description = "状态")
    private Integer status;


    /**
     * 广电手机号码
     */
    @Schema(description = "广电手机号码")
    private String gdMobile;


    /**
     * 广电订单号
     */
    @Schema(description = "广电订单号")
    private String orderNo;


    /**
     * 快递公司
     */
    @Schema(description = "快递公司")
    private String erpName;


    /**
     * 快递单号
     */
    @Schema(description = "快递单号")
    private String erpNo;


    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String idcardNo;


    /**
     * 收货人
     */
    @Schema(description = "收货人")
    @NotBlank(message = "收货人不能为空")
    private String receiveName;


    /**
     * 收货手机号
     */
    @Schema(description = "收货手机号")
    @NotBlank(message = "收货手机号不能为空")
    private String receiveMobile;


    /**
     * 收货详细地址
     */
    @Schema(description = "收货详细地址")
    private String address;


    /**
     * 详细地址
     */
    @Schema(description = "详细地址")
    private String addressDetail;




}

