#encoding=utf-8
class Ecloud < ActiveRecord::Base
  # attr_accessible :applyno, :begintime, :bossorderid, :custcode, :custid, :custname, :custtype, :ecordercode, :endtime,
  #                 :mobile, :opttype, :productcode, :registersource, :string, :trial, :useralias, :userid, :username, :email,
  #                 :effecttime, :operatime

  has_many :ecloud_services, :dependent => :destroy # 业务列表
  has_many :ecloud_productparas, :dependent => :destroy # 开通参数列表

  has_one :ecloud_user
end
