Subversion Repositories SmartDukaan

Rev

Rev 28755 | Rev 28850 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28755 Rev 28797
Line 22... Line 22...
22
@Entity
22
@Entity
23
@Table(name = "fofo.service_brand", schema = "fofo")
23
@Table(name = "fofo.service_brand", schema = "fofo")
24
 
24
 
25
@NamedQueries({
25
@NamedQueries({
26
		@NamedQuery(name = "ServiceBrandsConfig.selectFinanceServices", query = "select new com.spice.profitmandi.dao.model.FinanceServicesModel(pbs.fofoId, "
26
		@NamedQuery(name = "ServiceBrandsConfig.selectFinanceServices", query = "select new com.spice.profitmandi.dao.model.FinanceServicesModel(pbs.fofoId, "
27
				+ " pbs.partnerStatusType,pbs.applicableType,pbs.active,pbs.brandServiceId,sb.serviceId,sb.brand,po.name) from PartnerBrandService pbs "
27
				+ " pbs.partnerStatusType,pbs.applicableType,pbs.active,pbs.brandServiceId,sb.serviceId,sb.brand,po.name,ps.code,fs.code,us.createTimestamp) from PartnerBrandService pbs "
28
				+ " join  ServiceBrandsConfig sb  on pbs.brandServiceId = sb.id  join PaymentOption po on sb.serviceId = po.id"),
28
				+ " join  ServiceBrandsConfig sb  on pbs.brandServiceId = sb.id  join PaymentOption po on sb.serviceId = po.id "
29
 
-
 
-
 
29
				+ " join  PartnerService ps on ps.serviceId =po.id and pbs.fofoId = ps.fofoId join FofoStore fs on fs.id = pbs.fofoId join userUser us on us.id=fs.id"),
30
})
30
})
31
public class ServiceBrandsConfig implements Serializable {
31
public class ServiceBrandsConfig implements Serializable {
32
 
32
 
33
	private static final long serialVersionUID = 1L;
33
	private static final long serialVersionUID = 1L;
34
 
34