| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- package com.ssj.bean.weixin.sales.domain;
- import com.ssj.bean.common.framework.core.domain.BaseEntity;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.Table;
- import javax.persistence.Transient;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * @author ZhangCaibao
- * @version 2017年4月28日 下午3:00:02
- * 类说明 图书馆卡片销售订单
- */
- @Entity
- @Table(name = "tb_lib_order_details")
- public class LibOrderDetails extends BaseEntity{
- private static final long serialVersionUID = -5302500983979370609L;
-
- /**
- * 订单编号
- */
-
- private String orderNo;
- /**
- * 订单ID
- */
- private String orderId;
- /**
- * 卡片卡片明细ID
- */
- private String salesPriceId;
- /**
- * 卡片价格
- */
- private BigDecimal price;
- /**
- * 书本抵扣价格
- */
- private BigDecimal bookPrice;
- /**
- * 购买人
- */
- private String userId;
- /**
- * 销售人员
- */
- private String salesUserId;
- /**
- * 图书馆
- */
- private String libId;
- /**
- * 如何知晓私塾家
- */
- private String know;
- /**
- * 购买时间
- */
- private Date createTime;
- /**
- * 购卡明细
- */
- private String details;
- /**
- * 1新签,2续签
- */
- private Integer type;
-
- /**
- * 卡的种类(S001阅读吧卡,S003作业吧卡)
- */
- private String priceSpecies;
- /**
- * C001年卡C002半年卡C003月卡
- * 作业吧服务(小塾需要此服务才能使用):C004作业吧月卡C005作业吧半年卡C006作业吧年卡C015季度卡C022天卡
- * C007会员卡周末卡C008长假卡寒假卡C009自然拼读课程L1
- * C010励登幼升小拼音识字班C011励登幼升小数学思维班
- * C012励登幼升小课程全天班
- * C016自然拼读课程L2
- * C017自然拼读课程L3
- * C020阅读产品收费
- * C021通讯费
- */
- private String priceType;
- /**
- * 人员类型 1 CD 2 CC 3 CDA 4 ZB
- */
- private String staffingType;
-
- // 订单状态 1-已支付, 2-已退款 //3财务手动添加
- private Integer orderStatus;
-
- private Date endTime;
- /**
- * 会员卡ID
- */
- private String vipId;
- /**
- * 1自己购买,2代买
- */
- private Integer isBuy;
- /**
- * 初始购卡,会员卡的类型,续费统一为标准卡。 1标准卡,4联名卡。5兴趣卡(自然拼读),
- */
- private Integer vipStatus;
- /**
- * 单次购买的数量
- */
- private Integer number;
- /**
- * 优惠码,折扣码
- */
- private String vipCode;
- /**
- * 判断是从哪里支付的,1 图书馆销售二维码进来付款。
- */
- private String isType;
- /**
- * 孩子姓名
- */
- private String childName;
- /**
- * 年级
- */
- private String grade;
- /**
- * 家长姓名
- */
- private String parentName;
- /**
- * 联系方式
- */
- private String phone;
- /**
- * 学校
- */
- private String school;
-
- /**
- * 额外价格
- */
- private BigDecimal extraPrice;
- /**
- * 图书馆类型
- * 1--家庭图书馆
- * 2--共享图书馆A,
- * 3共享图书馆B
- */
- private Integer libtype;
- /**
- * 是否结算 用于进销存 1未结算 2已结算
- */
- private Integer isClose;
- /**
- * 购买程序端(6:家长端小程序;7:老师端小程序(校长端和老师端);11:app老师端;12:app家长端)
- */
- private int appType;
- /**
- * 赠送的优惠码
- */
- private String code;
- /**
- * 服务开始时间
- */
- private Date startTime;
- /**
- * 是否已开票 1-是 2-申请中 其它未开具
- */
- private Integer invoiceState;
- private String startActiveTime;
- private String activeTime;
- public Date getStartTime() {
- return startTime;
- }
- public void setStartTime(Date startTime) {
- this.startTime = startTime;
- }
- @Transient
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- public int getAppType() {
- return appType;
- }
- public void setAppType(int appType) {
- this.appType = appType;
- }
- public String getOrderNo() {
- return orderNo;
- }
- public void setOrderNo(String orderNo) {
- this.orderNo = orderNo;
- }
- public String getOrderId() {
- return orderId;
- }
- public void setOrderId(String orderId) {
- this.orderId = orderId;
- }
- public String getSalesPriceId() {
- return salesPriceId;
- }
- public void setSalesPriceId(String salesPriceId) {
- this.salesPriceId = salesPriceId;
- }
- public BigDecimal getPrice() {
- return price;
- }
- public void setPrice(BigDecimal price) {
- this.price = price;
- }
- public BigDecimal getBookPrice() {
- return bookPrice;
- }
- public void setBookPrice(BigDecimal bookPrice) {
- this.bookPrice = bookPrice;
- }
- public String getUserId() {
- return userId;
- }
- public void setUserId(String userId) {
- this.userId = userId;
- }
- public String getSalesUserId() {
- return salesUserId;
- }
- public void setSalesUserId(String salesUserId) {
- this.salesUserId = salesUserId;
- }
- public String getLibId() {
- return libId;
- }
- public void setLibId(String libId) {
- this.libId = libId;
- }
- public String getKnow() {
- return know;
- }
- public void setKnow(String know) {
- this.know = know;
- }
- @Column(updatable =false)
- public Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public String getDetails() {
- return details;
- }
- public void setDetails(String details) {
- this.details = details;
- }
- public Integer getType() {
- return type;
- }
- public void setType(Integer type) {
- this.type = type;
- }
- public String getPriceSpecies() {
- return priceSpecies;
- }
- public void setPriceSpecies(String priceSpecies) {
- this.priceSpecies = priceSpecies;
- }
- public String getPriceType() {
- return priceType;
- }
- public void setPriceType(String priceType) {
- this.priceType = priceType;
- }
- public String getStaffingType() {
- return staffingType;
- }
- public void setStaffingType(String staffingType) {
- this.staffingType = staffingType;
- }
- public Integer getOrderStatus() {
- return orderStatus;
- }
- public void setOrderStatus(Integer orderStatus) {
- this.orderStatus = orderStatus;
- }
- public Date getEndTime() {
- return endTime;
- }
- public void setEndTime(Date endTime) {
- this.endTime = endTime;
- }
- public String getVipId() {
- return vipId;
- }
- public void setVipId(String vipId) {
- this.vipId = vipId;
- }
- public Integer getIsBuy() {
- return isBuy;
- }
- public void setIsBuy(Integer isBuy) {
- this.isBuy = isBuy;
- }
- public Integer getVipStatus() {
- return vipStatus;
- }
- public void setVipStatus(Integer vipStatus) {
- this.vipStatus = vipStatus;
- }
- public Integer getNumber() {
- if(number==null){
- return 1;
- }
- return number;
- }
- public void setNumber(Integer number) {
- this.number = number;
- }
- @Transient
- public String getVipCode() {
- return vipCode;
- }
- public void setVipCode(String vipCode) {
- this.vipCode = vipCode;
- }
- @Transient
- public String getIsType() {
- return isType;
- }
- public void setIsType(String isType) {
- this.isType = isType;
- }
- @Transient
- public String getChildName() {
- return childName;
- }
- public void setChildName(String childName) {
- this.childName = childName;
- }
- @Transient
- public String getGrade() {
- return grade;
- }
- public void setGrade(String grade) {
- this.grade = grade;
- }
- @Transient
- public String getParentName() {
- return parentName;
- }
- public void setParentName(String parentName) {
- this.parentName = parentName;
- }
- @Transient
- public String getPhone() {
- return phone;
- }
- public void setPhone(String phone) {
- this.phone = phone;
- }
- @Transient
- public String getSchool() {
- return school;
- }
- public void setSchool(String school) {
- this.school = school;
- }
- @Transient
- public BigDecimal getExtraPrice() {
- return extraPrice;
- }
- public void setExtraPrice(BigDecimal extraPrice) {
- this.extraPrice = extraPrice;
- }
- public Integer getLibtype() {
- return libtype;
- }
- public void setLibtype(Integer libtype) {
- this.libtype = libtype;
- }
- public Integer getIsClose() {
- return isClose;
- }
- public void setIsClose(Integer isClose) {
- this.isClose = isClose;
- }
- public Integer getInvoiceState() {
- return invoiceState;
- }
- public void setInvoiceState(Integer invoiceState) {
- this.invoiceState = invoiceState;
- }
- @Transient
- public String getStartActiveTime() {
- return startActiveTime;
- }
- public void setStartActiveTime(String startActiveTime) {
- this.startActiveTime = startActiveTime;
- }
- @Transient
- public String getActiveTime() {
- return activeTime;
- }
- public void setActiveTime(String activeTime) {
- this.activeTime = activeTime;
- }
- }
|