package com.doumee.dao.business.model; import com.doumee.core.annotation.excel.ExcelColumn; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; import java.math.BigDecimal; /** * 订单信息记录 * @author 江蹄蹄 * @date 2025/07/09 12:00 */ @Data @ApiModel("订单信息记录") @TableName("`orders`") public class Orders { @ApiModelProperty(value = "主键", example = "1") @ExcelColumn(name="主键") private Integer id; @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") @ExcelColumn(name="是否已删除 0未删除 1已删除") private Byte deleted; @ApiModelProperty(value = "创建人编码", example = "1") @ExcelColumn(name="创建人编码") private Integer createUser; @ApiModelProperty(value = "创建时间") @ExcelColumn(name="创建时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date createTime; @ApiModelProperty(value = "更新人编码", example = "1") @ExcelColumn(name="更新人编码") private Integer updateUser; @ApiModelProperty(value = "更新时间") @ExcelColumn(name="更新时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date updateTime; @ApiModelProperty(value = "备注") @ExcelColumn(name="备注") private String remark; @ApiModelProperty(value = "发单方", example = "1") @ExcelColumn(name="发单方") private Integer releaseMemberId; @ApiModelProperty(value = "类型:0=用工;1=运货;2=订餐", example = "1") @ExcelColumn(name="类型:0=用工;1=运货;2=订餐") private Integer type; @ApiModelProperty(value = "开始时间 yyyy-MM-dd") @ExcelColumn(name="开始时间 yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private Date startDate; @ApiModelProperty(value = "结束时间 yyyy-MM-dd") @ExcelColumn(name="结束时间 yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private Date endDate; @ApiModelProperty(value = "地点信息/用车起点/用餐地点") @ExcelColumn(name="地点信息/用车起点/用餐地点") private String location; @ApiModelProperty(value = "地点描述") @ExcelColumn(name="地点描述") private String locationRemark; @ApiModelProperty(value = "经度", example = "1") @ExcelColumn(name="经度") private BigDecimal lat; @ApiModelProperty(value = "省份") @ExcelColumn(name="省份") private String province; @ApiModelProperty(value = "城市") @ExcelColumn(name="城市") private String city; @ApiModelProperty(value = "区县") @ExcelColumn(name="区县") private String area; @ApiModelProperty(value = "纬度", example = "1") @ExcelColumn(name="纬度") private BigDecimal lgt; @ApiModelProperty(value = "需求类型(运货/用工):关联 category", example = "1") @ExcelColumn(name="需求类型(运货/用工):关联 category") private Integer categoryId; @ApiModelProperty(value = "用工类型:0=采摘工;1=分拣工;2=包装工;(用工订单)", example = "1") @ExcelColumn(name="用工类型:0=采摘工;1=分拣工;2=包装工;(用工订单)") private Integer workType; @ApiModelProperty(value = "计价数量1(天数/用车次数)", example = "1") @ExcelColumn(name="计价数量1(天数/用车次数)") private Integer priceNum1; @ApiModelProperty(value = "计价数量2(用工数量/采摘数量/用车数量/)", example = "1") @ExcelColumn(name="计价数量2(用工数量/采摘数量/用车数量/)") private Integer priceNum2; @ApiModelProperty(value = "需求补充") @ExcelColumn(name="需求补充") private String supplement; @ApiModelProperty(value = "费用标准", example = "1") @ExcelColumn(name="费用标准") private Long price; @ApiModelProperty(value = "预估费用", example = "1") @ExcelColumn(name="预估费用") private Long estimatedAccount; @ApiModelProperty(value = "实际支付费用", example = "1") @ExcelColumn(name="实际支付费用") private Long payAccount; @ApiModelProperty(value = "实收费用", example = "1") @ExcelColumn(name="实收费用") private Long reviceAccount; @ApiModelProperty(value = "费用说明") @ExcelColumn(name="费用说明") private String priceRemark; @ApiModelProperty(value = "用车类型(运货使用):0=天;1=次", example = "1") @ExcelColumn(name="用车类型(运货使用):0=天;1=次") private Integer carType; @ApiModelProperty(value = "运输品种(运货使用) 关联category表", example = "1") @ExcelColumn(name="运输品种(运货使用) 关联category表") private Integer transportTypeId; @ApiModelProperty(value = "运输重量/数量", example = "1") @ExcelColumn(name="运输重量/数量") private Integer transportNum; @ApiModelProperty(value = "运输单位(个/斤)") @ExcelColumn(name="运输单位(个/斤)") private String transportUnit; @ApiModelProperty(value = "用车终点地址") @ExcelColumn(name="用车终点地址") private String locationEnd; @ApiModelProperty(value = "用车终点经度") @ExcelColumn(name="用车终点经度") private String latEnd; @ApiModelProperty(value = "用车终点纬度") @ExcelColumn(name="用车终点纬度") private String lgtEnd; @ApiModelProperty(value = "途经点/餐标信息") @ExcelColumn(name="途经点/餐标信息") private String wayInfo; @ApiModelProperty(value = "订单编号") @ExcelColumn(name="订单编号") private String code; @ApiModelProperty(value = "订单状态:0=待接单;1=已接单;2=进行中;3=已完成;99=已取消;", example = "1") @ExcelColumn(name="订单状态:0=待接单;1=已接单;2=进行中;3=已完成;99=已取消;") private Integer status; @ApiModelProperty(value = "接单时间") @ExcelColumn(name="接单时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date acceptTime; @ApiModelProperty(value = "接单人", example = "1") @ExcelColumn(name="接单人") private Integer acceptMemberId; @ApiModelProperty(value = "接单类型:0=手动接单;1=系统派单;", example = "1") @ExcelColumn(name="接单类型:0=手动接单;1=系统派单;") private Integer acceptType; @ApiModelProperty(value = "开始作业时间") @ExcelColumn(name="开始作业时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date workStartTime; @ApiModelProperty(value = "完成时间") @ExcelColumn(name="完成时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date finishTime; @ApiModelProperty(value = "平台提成比例", example = "1") @ExcelColumn(name="平台提成比例") private BigDecimal platformRata; @ApiModelProperty(value = "微信平台交易订单号") @ExcelColumn(name="微信平台交易订单号") private String wxExternalNo; @ApiModelProperty(value = "是否评价:0=否;1=是", example = "1") @ExcelColumn(name="是否评价:0=否;1=是") private Integer commentStatus; @ApiModelProperty(value = "评价内容") @ExcelColumn(name="评价内容") private String commentInfo; @ApiModelProperty(value = "评价星级1-5", example = "1") @ExcelColumn(name="评价星级1-5") private Integer commentLevel; @ApiModelProperty(value = "评价时间") @ExcelColumn(name="评价时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date commentTime; @ApiModelProperty(value = "评价类型:0=手动评价;1=系统自动评价;", example = "1") @ExcelColumn(name="评价类型:0=手动评价;1=系统自动评价;") private Integer commentType; @ApiModelProperty(value = "取消时间") @ExcelColumn(name="取消时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date cancelTime; @ApiModelProperty(value = "是否已修改:0=否;1=是;", example = "1") @ExcelColumn(name="是否已修改:0=否;1=是;") private Integer isUpdate; @ApiModelProperty(value = "接单方黑名单member:id 多个以,分割") @ExcelColumn(name="接单方黑名单member:id 多个以,分割") private String blackRecive; }