package abacus.springboot.example.api.view;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "稽查收货明细" , name = "ApiJcBillItem")
public class ApiJcBillItem {
	
	@Schema(description = "明细序号", required = false, hidden = true, example = "2")
	private Long id;
	
	@Schema(description = "行号", required = false, pattern = "修改时必填", example = "2")
	private int indexno;

	@Schema(description = "收货来源", required = false, example = "掌上华致")
	private String recsource;
	
	@Schema(description = "收货渠道", required = false, example = "线下")
	private String channel;
	
	@Schema(description = "收货平台", required = true, example = "")
	private String recplatform;
	
	@Schema(description = "收货单价", required = false, example = "100")
	private double price;	
	
	@Schema(description = "收货数量", required = false, example = "10")
	private double quantity;
	
	@Schema(description = "收货件数", required = false, example = "1")
	private double numbers;
	
	@Schema(description = "收货金额", required = false, example = "1000")
	private double subtotal;
	
	@Schema(description = "付款图片", required = false, pattern = "这是个JSON数组，不是JSONArray对象", example = "[\"44444\",\"aaaaa\"]")
	private List<String> paymentPhoto;
	
	@Schema(description = "货品图片", required = false,  pattern = "", example = "")
	private List<ApiJcBillGoodsPhoto> goodsPhotos;

	public String getRecplatform() {
		return recplatform;
	}

	public void setRecplatform(String recplatform) {
		this.recplatform = recplatform;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRecsource() {
		return recsource;
	}

	public void setRecsource(String recsource) {
		this.recsource = recsource;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getQuantity() {
		return quantity;
	}

	public void setQuantity(double quantity) {
		this.quantity = quantity;
	}

	public double getNumbers() {
		return numbers;
	}

	public void setNumbers(double numbers) {
		this.numbers = numbers;
	}

	public double getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(double subtotal) {
		this.subtotal = subtotal;
	}

	public List<String> getPaymentPhoto() {
		return paymentPhoto;
	}

	public void setPaymentPhoto(List<String> paymentPhoto) {
		this.paymentPhoto = paymentPhoto;
	}

	public int getIndexno() {
		return indexno;
	}

	public void setIndexno(int indexno) {
		this.indexno = indexno;
	}

	public List<ApiJcBillGoodsPhoto> getGoodsPhotos() {
		return goodsPhotos;
	}

	public void setGoodsPhotos(List<ApiJcBillGoodsPhoto> goodsPhotos) {
		this.goodsPhotos = goodsPhotos;
	}
}
